What is new in React 19 that a developer should know?
Model answer
Highlights include Actions for forms and async transitions, new hooks (useActionState, useOptimistic, and the use API for reading promises and context), ref as a regular prop, built-in support for rendering document metadata like title and meta tags, and improvements to Suspense and error reporting.
Details can change between minor versions, so confirm in the official React blog and docs.
Learn this topic
React 19 New Features: Actions, useActionState, useOptimistic, use and More in the course React.js Full Course: Beginner to Advanced.
Sign in to add your own answer.
More questions
- What are React Server Components, in simple terms?
- What is the difference between client-side rendering, server-side rendering and static generation?
- What are error boundaries and how do you use them?
- What are portals and when do you use them?
- How would you structure folders and code in a large React project?
- How do you decide between building a single-page app and using a framework like Next.js?