React 19.3: View Transitions Go Stable

React 19.3 landed on npm on September 9, 2026, and the headline is that <ViewTransition> has graduated from the experimental channel to stable. Shipping alongside it: refs on <Fragment>, a browser() function in react-dom, and Trusted Types integration. The through-line across all four is the same — React handing responsibility back to the browser instead of rebuilding it.

The problem: animation lived outside the render tree

Animating a route change or a list reorder in React has historically meant an animation library running in parallel with React itself. The library keeps its own record of what mounted and what unmounted, holds elements in the DOM after React removed them, and measures positions React already knows. Every transition becomes a negotiation between two systems that each believe they own the tree.

The browser solved this with the View Transitions API: snapshot the old state, snapshot the new state, let CSS animate between them. The catch was timing — document.startViewTransition() needs the DOM mutated inside its callback, and in a concurrent renderer no individual component knows when that moment arrives. Only React does.

What changed

<ViewTransition> is React's answer: a boundary that declares which subtrees participate, while React owns the call into the browser API. Four triggers are covered — enter, exit, update, and share, the last being a named boundary that moves between locations.

jsx
import { ViewTransition, startTransition, addTransitionType } from 'react';

function nextSlide() {
  startTransition(() => {
    addTransitionType('next');
    setCurrentSlide(c => c + 1);
  });
}

<ViewTransition
  enter={{ 'next': 'from-right', 'previous': 'from-left' }}
  exit={{ 'next': 'to-left', 'previous': 'to-right' }}
>
  <Page />
</ViewTransition>

addTransitionType is the piece that makes this composable: the same boundary animates differently depending on why the update happened, and the direction is decided at the call site rather than stored in component state.

The rule that catches people out: only updates marked as transitions animate. A plain setState mutates the DOM with no animation at all. Animation becomes an explicit opt-in — via startTransition, a <Suspense> reveal, or useDeferredValue.

The other three

Fragment refs give a ref to a group of siblings, returning a FragmentInstance that exposes focus(), focusLast(), addEventListener(), observeUsing() and getClientRects(). It is the practical escape hatch for components that never exposed a ref prop in the first place.

browser() is a clean answer to "this part needs localStorage":

jsx
import { use } from 'react';
import { browser } from 'react-dom';

function TimeZone() {
  use(browser());
  return <p>{new Intl.DateTimeFormat().resolvedOptions().timeZone}</p>;
}

It suspends on the server and resolves in the browser — no useEffect plus useState dance, and no hydration mismatch.

Trusted Types support means React now passes Trusted Types objects through without coercing them to strings, so a site enforcing Content-Security-Policy: require-trusted-types-for 'script' gets browser-level validation instead of a broken render.

Caveats worth knowing

  • DOM only. React Native support for <ViewTransition> is still in progress.
  • Browser support is real but uneven. Same-document view transitions became Baseline Newly available in October 2025 when Firefox 144 shipped them, and view transition types followed in Firefox 147. Cross-document transitions are still not implemented in Firefox.
  • Concurrent rendering rules still apply. A transition that suspends holds the animation until content is ready — design with that, not around it.
  • It is a minor release. No deprecations were announced, so the upgrade is a version bump, not a migration.

Takeaway

The interesting part of 19.3 is not any single API but the direction of travel: View Transitions, Trusted Types, browser() and Fragment refs all push responsibility toward the web platform and shrink what a React app has to own. It is the same direction that moved permission prompts from JavaScript into HTML in Chrome 153 — less framework code, more browser.

Primary source: the React 19.3 announcement on react.dev.