Post

😮 Big React news: they’re adding first-class View Transition support! 🎉 This’ll make it so much easier to add transitions on route change, among other use cases. The PR was merged earlier today, so it may be available soon! github.com/facebook/rea...

github.comAdd <ViewTransition> Component by sebmarkbage · Pull Request #31975 · facebook/reactThis will provide the opt-in for using View Transitions in React. View Transitions only trigger for async updates like startTransition, useDeferredValue, Actions or &lt;Suspense&gt; revealing from ...

20 reposts260 likes

This is great. I'm curious about your use cases though, since most of the examples I've seen (excluding actual page transitions which I already do with Astro) are kinda just showing headers transition awkwardly on page change. Casually, one Astro based music player demo I saw was actually amazing

Yeah, I mean most applications have to be built with these sorts of transitions in mind, it’s harder to bolt them on later. But even simple things like cross-fading or sliding can make a page feel more native / app-like

They’re researching it * No promises it will land or when, and there’s a lot to iron out still

All good! I just want to set expectations so people don’t start blowing up our mentions/issues reporting issues we already know about or asking for docs that aren’t ready yet.