JavaScript Jabber

What’s New in React 19.2: Compiler, Activity, and the Future of Async React - JSJ 700

14 snips
Jan 8, 2026
In this lively discussion, Shruti Kapoor, an independent content creator and React educator, dives into the powerful features of React 19.2, including the stable React Compiler and its impact on component optimization. She highlights the new Activity component, which simplifies state management by preserving data like video playback across views. View Transitions are also explored, making animations smoother and more intuitive. Shruti emphasizes the significance of Performance Tracks for debugging and the future of async React, leaving listeners excited about what's next!
Ask episode
AI Snips
Chapters
Transcript
Episode notes
ADVICE

Use Activity To Preload Tabs

  • Use Activity to preload and keep tab UIs ready instead of conditional rendering that re-mounts on switch.
  • Combine Activity with Suspense or server-side data fetching to preload lower-priority content.
INSIGHT

Activity Is More Than CSS Hide

  • Activity implements hidden mode by adding display:none but React treats it differently than plain CSS.
  • The VDOM-level handling enables different priorities and better LCP compared to naive display:none.
INSIGHT

View Transitions Tie Browser Animations To React

  • View Transitions are a browser feature React integrates with to animate between DOM states declaratively.
  • React's ViewTransition component pairs with startTransition to trigger enter/exit animations for UI changes.
Get the Snipd Podcast app to discover more snips from this episode
Get the app