React 19.3: triggering View Transitions at the right time
devtrillo.com
React 19.3 stabilizes <ViewTransition> and addTransitionType, but a plain setState does not trigger an animation. The article’s examples and tests show how wrapping updates in startTransition enables animations for a carousel or a list-to-detail transition.
It also covers shared transitions, refs on <Fragment>, and browser(), along with their practical constraints. Applications still need to handle prefers-reduced-motion; the author tests the behavior in a Vite lab and specifies which browsers were tested.
