Home
← All questions

React Server Components (RSC) overview

HardPremiumReact

Asked at Meta · Vercel · Google

React interview practice: Explain Server Components, how they differ from SSR, and trade-offs for frontend architects.

Answer

React Server Components (RSC) run only on the server. Their output is a serialized component tree sent to the client — no client JS bundle for server components themselves.

SSR (traditional)RSC
Runs on serverYes (once per request)Yes
HydrationFull client JS for interactive treeOnly Client Components hydrate
Data fetchingOften duplicated client/serverDirect DB/API access on server
InteractivityFull React on client"use client" boundary required

Benefits: smaller bundles, zero-waterfall data fetch on server, secrets stay server-side.
Constraints: no useState/useEffect in server components; event handlers require client components.

Premium question

Unlock the full model answer with Mentoxis Premium.

Unlock with Premium