Rendering strategies and React · senior
Streaming SSR, selective hydration, islands and Server Components
Newer strategies cut the cost of SSR: streaming sends HTML in chunks as data is ready, selective/progressive hydration makes the important parts interactive first, islands and React Server Components send JavaScript only for the interactive parts.
Explain it out loud
Explain it out loud to an AI interviewer that follows up, and see where your answer is thin.
Practise by voiceThe notes
What you must know
- Streaming SSR: the server sends the shell at once and streams Suspense boundaries as their data resolves. TTFB and FCP improve because one slow query no longer blocks the whole page.
- React 19.2 batches the reveal of streamed Suspense boundaries for a short time but stops batching as LCP approaches 2.5 s, to protect Core Web Vitals.
- Selective hydration (React 18+): hydration happens per Suspense boundary, and React prioritises the boundary the user interacts with.
- Islands / partial hydration (Astro, and RSC in effect): static parts ship no JS; only interactive 'islands' hydrate. Less JS means better INP.
- React Server Components render on the server only and send no JS for themselves; their output is serialised (RSC payload). Client Components ('use client') still hydrate.
- Partial Prerendering (React prerender/resume, Next.js Cache Components): a static shell from the CDN, dynamic holes filled per request.
- Placement matters: wrap slow, non-critical sections in Suspense; keep the LCP element outside slow boundaries.
The red pen
Common traps: mistake → fix
Mistake: "Server Components remove hydration completely"
Fix: client components inside the tree still hydrate; RSC reduces JS, it does not remove it.
Mistake: "Streaming always improves LCP"
Fix: if the LCP element is inside a slow Suspense boundary, LCP still waits for that data.
Mistake: "Put Suspense around everything"
Fix: too many boundaries cause layout shifts and pop-in; place them by data and priority.
Easy to hard
Questions interviewers ask, easy to hard
- What is streaming SSR and what problem does it solve?
- What is selective hydration?
- How do islands or Server Components reduce JavaScript cost?
- Where would you put Suspense boundaries on a product page and why?
Explain it out loud
Explain it out loud to an AI interviewer that follows up, and see where your answer is thin.
Practise by voiceYour first interview is free
Sign up and start with a 15-minute interview with the full report, and an English conversation. No card needed.