React Server Components (RSC) represent a major shift in the React ecosystem. They allow us to render components on the server, sending less JavaScript to the client.
The Benefits of RSC
By moving data fetching and heavy logic to the server, we can significantly improve the Initial Page Load and Time to Interactive (TTI).
When to use Client Components?
Client components are still essential for interactivity, but the rule of thumb is: use server components by default and client components only when necessary.
M’écrire