React Server Components (Part 1): The Mental Model That Makes RSC Click
Understand React Server Components in 2026: how they differ from SSR, what the RSC payload does, where Client Components fit, and how to choose the server/client boundary.

React Server Components are much easier to understand once you stop thinking of them as SSR with a new name. They are not.
A Server Component is a React component whose code runs in a server-side environment and is not shipped to the browser as component JavaScript. It can read from a database, call internal services, use server-only credentials and prepare UI close to the data source. When the page needs browser state, event handlers or browser APIs, you compose that server-rendered tree with Client Components.
That split is the idea to learn. Most of the terminology becomes straightforward afterwards.
2026 note: React Server Components are stable in React 19, but React’s low-level APIs for framework and bundler authors are still not guaranteed to remain compatible across React 19 minor versions. Application developers should normally consume RSC through a framework that supports it rather than implementing the transport themselves.
Server Components, Client Components and SSR are different ideas
A Server Component executes in the server environment. Its component implementation is not included in the client JavaScript bundle. It can await server-side data directly:
import { db } from '@/lib/db'
export default async function ProductPage({ id }: { id: string }) {
const product = await db.product.findUnique({ where: { id } })
return <h1>{product?.name}</h1>
}
A Client Component is part of the client module graph. It is where browser interactivity lives:
'use client'
import { useState } from 'react'
export function QuantityPicker() {
const [quantity, setQuantity] = useState(1)
return <button onClick={() => setQuantity(quantity + 1)}>Quantity: {quantity}</button>
}
Server-side rendering, meanwhile, answers a different question: where is HTML produced for the initial view?
A Client Component can still participate in server rendering. On an initial Next.js load, HTML can be produced on the server so the user sees content before its client JavaScript hydrates. The word client describes the component’s module/runtime capabilities, not simply whether a server ever produced HTML for it.
What crosses the RSC boundary?
React does not send a Server Component’s JavaScript implementation to the browser and ask the browser to execute it.
An RSC-capable framework renders the server tree into an RSC payload. In Next.js, that payload contains the rendered Server Component result, references to Client Components, and serializable props needed to join the two trees together.
For an initial page load, the framework can combine that with HTML so the user gets an immediately visible page. React then uses the RSC payload to reconcile the component trees and hydrates Client Components that need interactivity.
On later client-side navigations, the framework can fetch RSC payloads for the destination rather than rebuilding the experience as a traditional full-page navigation.
You normally do not need to construct this wire format yourself. It is framework infrastructure.
There is no 'use server' directive for Server Components
This is one of the most persistent RSC misconceptions.
'use server' does not mean “make this a Server Component.” It marks Server Functions that may be invoked from client-side code. React has no directive that declares a Server Component.
'use client', meanwhile, creates a client-module boundary.
In Next.js App Router, layouts and pages are Server Components by default. Add 'use client' when a subtree genuinely needs client capabilities.
That leads to a much better architectural question than “how do I convert my app to RSC?” Ask:
Which parts of this UI actually need to execute in the browser?
Often the answer is much smaller than the whole page.
'use client' creates a boundary, not a badge
Once a module is a client entry point, its transitive imports become part of the client module graph too. You do not improve an application by sprinkling 'use client' through every file.
Moving the boundary higher than necessary can throw away a major RSC advantage: more of the dependency graph becomes browser JavaScript.
A useful pattern is to keep page composition and data-heavy work on the server while making small interactive islands client-side:
// Server Component
import { AddToBasket } from './add-to-basket'
import { db } from '@/lib/db'
export default async function Product({ id }: { id: string }) {
const product = await db.product.findUnique({ where: { id } })
if (!product) return <p>Product not found.</p>
return (
<main>
<h1>{product.name}</h1>
<p>{product.description}</p>
<strong>£{product.price}</strong>
<AddToBasket productId={product.id} />
</main>
)
}
The database client, query and descriptive UI stay server-side. Only the basket interaction needs a client runtime.
The boundary is architectural, not ideological
It is tempting to turn RSC into a contest to eliminate Client Components. That is the wrong goal.
A rich text editor should probably be a Client Component. So should a drag-and-drop board, an interactive map, an audio player and many complex form experiences.
Server Components are valuable because they let you avoid sending code that has no reason to run in the browser. They do not make browser JavaScript bad.
A healthy tree might look like this:
ProductPage Server
├── Breadcrumbs Server
├── ProductDetails Server
├── Recommendations Server
└── PurchasePanel Client
├── QuantityPicker Client
└── AddToBasket Client
The architecture follows capability.
Server Components can access server-side resources directly
A conventional client-heavy application often has a browser component call an HTTP API, which then calls an application service and database. That API boundary may exist because the browser cannot safely hold database credentials or privileged service credentials.
A Server Component lives on the trusted side of that browser boundary. Depending on your architecture, it may call the application/data layer directly:
export default async function AccountSummary() {
const user = await requireUser()
const invoices = await getInvoicesForUser(user.id)
return <InvoiceList invoices={invoices} />
}
That can remove a pointless browser-to-API round trip for rendering work.
But authorization does not disappear. If getInvoicesForUser() accesses protected data, the server still needs to establish identity and enforce authorization. “It runs on the server” is not an authorization policy.
Secrets can stay server-side — returned data cannot
Server Components can use server-only credentials without bundling those credentials into browser JavaScript. That is useful, but anything you render or pass across the client boundary may become visible to the user.
Do not query a full sensitive record and assume it is safe merely because the query happened inside a Server Component. Select the data the UI is actually allowed to receive:
const user = await db.user.findUnique({
where: { id: userId },
select: {
displayName: true,
avatarUrl: true,
},
})
Data minimisation still matters.
Props crossing into Client Components must be serializable
The server/client boundary is not an ordinary in-memory component call. Data has to cross a transport boundary.
Passing a small plain model is natural:
<AddToBasket product={{ id: product.id, name: product.name, price: product.price }} />
Passing arbitrary class instances or ordinary executable functions is not. Server Functions are a special supported reference type, but that is a deliberate framework mechanism rather than permission to pass any server closure to the browser.
When a boundary feels awkward, that friction often reveals an architectural issue. Pass the smallest serializable model the interactive component needs rather than pushing a giant domain object across it.
Async components change the data-fetching shape
Server Components can be async:
export default async function LatestOrders() {
const orders = await getLatestOrders()
return <OrderList orders={orders} />
}
This lets data dependencies sit next to the component that needs them. It does not repeal network latency.
Naively nesting async work can still create waterfalls. Independent work should be started in parallel where possible, and frameworks can combine Server Components with Suspense and streaming to reveal useful regions while slower work continues.
We will tackle data fetching, caching and streaming later in the series because those decisions have a much larger effect on production behaviour than the async syntax suggests.
Server Components are not necessarily request-time components
The word server can be misleading. React’s documentation allows Server Components to execute ahead of time during a build or dynamically for requests. Your framework and route configuration decide when work happens.
So this shortcut is unsafe:
Server Component = runs once on the web server for every request.
Some output may be pre-rendered. Some may be cached. Some may be generated per request. Frameworks can combine static and dynamic behaviour.
What RSC can improve
Used well, the model can reduce browser JavaScript because server-only dependencies do not need to become part of the client bundle simply because they helped produce UI. A Markdown parser, database SDK or heavy formatting dependency can sometimes do its job on the server and disappear from the browser graph entirely.
It can also move data access closer to its source, work naturally with Suspense and streaming, and keep privileged credentials and operations server-side.
None of those benefits is automatic. A giant 'use client' boundary, serial data waterfalls or careless caching can still produce a slow application.
See what your production page is actually shipping
SiteTidy can inspect the public-facing result for performance, metadata, security and implementation issues without requiring an account.
A practical boundary test
When deciding whether something belongs on the client, ask whether it requires browser state or event handlers, browser-only APIs, or a third-party library that requires the browser runtime. Then ask whether a smaller interactive child could sit inside a Server Component instead.
If a component only fetches data, formats it and emits UI, it is often a strong Server Component candidate. If it owns interaction, browser state or browser capabilities, make that interactive boundary explicit.
Common mistakes when first adopting RSC
Calling RSC “SSR 2.0”. They solve overlapping but different problems. Keep module execution, HTML rendering and hydration as separate concepts.
Adding 'use client' everywhere. That can drag a large dependency subtree into the browser bundle and recreate the client-heavy architecture you were trying to improve.
Using 'use server' on Server Components. It marks callable Server Functions, not Server Components.
Assuming server-side means secure. Server-side code still needs authorization. Data passed to the client is still disclosed to the client.
Expecting RSC to fix poor data architecture. Sequential queries remain sequential, slow upstream services remain slow and bad cache decisions remain bad.
Implementing the RSC protocol yourself for a normal application. React 19 stabilised the component model, but the low-level APIs used by bundlers/frameworks can still change across minor versions. Use a supported framework integration unless building RSC infrastructure is itself your job.
A note on RSC security in 2026
Old articles written before late 2025 can give a dangerously incomplete picture. React disclosed serious vulnerabilities in RSC infrastructure beginning in December 2025, followed by additional denial-of-service and source-exposure fixes through 2026.
The lesson is not that RSC is inherently unsafe. It is that RSC adds server-side protocol and framework infrastructure that must be patched like any other remotely reachable application surface.
Keep React/framework RSC packages on supported patched releases, subscribe to security advisories, do not treat hosting-provider mitigations as a replacement for upgrades, validate and authorize Server Function inputs, and do not hard-code secrets into Server Function source.
We will cover that properly in the security article later in this series.
The mental model to keep
If you remember only one thing from Part 1, use this:
Server Components decide what UI can be computed without shipping that component code to the browser. Client Components define the interactive browser boundary. SSR decides how initial HTML is produced. They are related, but they are not the same thing.
Once that model is clear, RSC stops looking like magic. It becomes an architectural tool for deciding where code, data access and interaction should live.
In Part 2, we will turn that model into a real component architecture: where to place 'use client', how composition works across the boundary, how providers fit in, and how to avoid accidentally turning an entire application back into one enormous client bundle.
