Here!
Here!
in React 19
WHAT’S NEW
IN REACT 19?
1
REACT
COMPILER
What’s New?
React automatically optimizes re-
renders without manual
intervention.
No more need for:
useMemo()
useCallback()
React.memo
What’s New?
Components that run on the server,
not the client.
Previously pioneered by Next.js
(default in v13).
In React 19, server components are
integrated natively.
Benefits
SEO Friendly: Enhances search engine
optimization.
Performance Boost: Faster initial page
loads.
Server-Side Execution: Efficiently
handles tasks like API calls.
How to Use Server Components?
1- Client-Side (Default):
All React components run on the client
side.
2 - Server-Side:
Add 'use server' as the first line of your
component:
Key Notes 📝
Server Components do not run on the client.
Combined with Actions, they streamline
tasks like form handling and API requests.
Next.js users can already leverage server
components; React 19 brings this directly to
React.
3 ACTIONS
BEFORE REACT 19: MANUAL HANDLING OF
ASYNC STATES.
Advantages: