Hasty Briefsbeta

React 19.2 is now available

9 hours ago
  • #JavaScript
  • #Frontend Development
  • #React
  • React 19.2 is now available on npm, marking the third release in the last year.
  • Introduces <Activity /> component to manage app parts with 'visible' and 'hidden' modes for performance optimization.
  • New useEffectEvent feature allows separating event logic from effects, improving dependency management.
  • cacheSignal added to manage cache lifetimes, enabling cleanup when cached results are no longer needed.
  • Performance Tracks in Chrome DevTools provide detailed insights into React app performance, including Scheduler and Components tracks.
  • Partial Pre-rendering feature enables pre-rendering static app parts for CDN delivery, with dynamic content filled in later.
  • SSR improvements include Web Streams support for Node.js and batching Suspense boundaries for consistent client-server rendering.
  • eslint-plugin-react-hooks updated to v6.1.0 with new React Compiler powered rules and flat config by default.
  • Default useId prefix updated to '_r_' for compatibility with View Transitions and XML 1.0 names.
  • Various bug fixes and improvements across React and React DOM, enhancing stability and performance.