Skip to content

Glossary · FrontendAlso: RSC, Server Components

What are React Server Components?

React Server Components are components that render only on the server, ahead of time or per request. They can read data directly, such as from a database, and send the result to the browser without shipping their own code, so the page needs less client-side JavaScript.

Source: React: Server Components

Why it matters

Server Components let data fetching live next to the component that needs it, and cut the JavaScript a page ships, which helps loading and responsiveness.

Interactive pieces are still Client Components, so the skill is drawing the line between the two well.

Example

// in practice

An article page is a Server Component that reads the post from the CMS; only the share button and comment form are Client Components.

Go deeper

Next step

Need this done properly?

Tell us what you are building. A senior engineer replies within one business day with specific, honest next steps.

First reply
Within 1 business day
Typical start
1–2 weeks
Pricing
Fixed price per phase
You own
All code and accounts