What's new in React 19
summary
React 19 stabilizes concrete APIs: transitions now accept async functions (but post-await updates need an extra startTransition until async context lands), and multiple concurrent transitions batch into a single commit so later updates win. New hooks and APIs include useActionState (actions auto-receive formData and expose pending + result), useFormStatus and useOptimistic for optimistic updates, plus server improvements: async React Server Components with Suspense streaming, use API to pass promises to client, plus server actions, ref-as-prop, head/CSS hoisting and browser-hint APIs.
AI-written summary · about
chapters (10)
- 0:00Introduction
- 0:21Transitions with async actions
- 3:54useActionState hook demo
- 6:42Form actions and status
- 8:07useOptimistic hook explained
- 10:30React Server Components
- 13:17Client components and use
- 15:41Server actions overview
- 16:44Other React 19 improvements
- 18:29Browser hints and metadata
related talks
38mEverything You Need to Know About React 19
16mAn overview of React 18 features
19mAll About React 18
59mReact in 2024: Exploring the New Stuff
26mEverything You Need to Know About React 19
22mEverything you need to know about React 18
29mEverything You Need to Know About React 19
27mBuilding better forms with React 19
