React 19 will allow developers to drop useMemo, useCallback; Server Actions are real and well crafted; Meta is opening React Canary builds to the world
The React team has announced the features we will find in React 19! We should see them sometime in 2024, perhaps at the May 15 React Conf.
Most notably:
- A new and smarter compiler eliminates the need for developers to use
useMemo
anduseCallback
and specify dependencies. It adds logic that automatically memoizes when needed. - React Server Actions are coming. They are not just a pattern, but a set of
features that make it easy to render anywhere, run logic anywhere, and connect
seamlessly. Alongside actions, you can use
useOptimistic
to update UI elements while Server Actions run. - Meta is opening React development to the public. Canary builds will allow developers to provide early feedback and hopefully more input.
Read the full post on the React Blog.