Next.js Doesn't Render Pages Anymore. It Streams Something Stranger.
Post · https://dev.to/smtahosin/nextjs-doesnt-render-pages-anymore-it-streams-something-stranger-11ij
A deep visual guide to how Next.js and React Server Components really work under the hood. Why Client Components run on the server, what the RSC Payload is, and how hydration connects them.
First seen by Oriel on .
AI summary
The article explains that Next.js Client Components are server-rendered on initial requests and that “use client” defines a bundling boundary, not a browser-only execution boundary.
- Initial rendering executes Client Components on the server to produce HTML; their JavaScript later runs in the browser during hydration.
- The RSC Payload carries server-rendered UI descriptions, Client Component placeholders and chunk references, plus serialized props; client navigation can request this payload instead of a full HTML page.
- Props crossing from Server Components to Client Components must be serializable, and Client Components must not directly import Server Components.
- A Client Component can display server-rendered content through a children slot, preserving that content's Server Component execution.
- The article recommends keeping client boundaries narrow, moving browser API access into useEffect, and avoiding non-deterministic initial renders that cause hydration mismatches.
#next.js #react server components #server-side rendering #hydration
Generated by gpt-5.6-sol. Check the original for details.
Metric trends
Last 30 days · Up to 120 recorded samples per source and metric, with reposts kept separate · First and latest retained
Reactions
Total public reactions reported by the source; distinct from points and likes.
- DEV Community: 23, latest observation ; +10 over observed period since
Comments
Comment count reported by the source.
- DEV Community: 6, latest observation ; +6 over observed period since
Aliases
| Source | External ID | URL |
|---|---|---|
| DEV Community | 4825846 | https://dev.to/smtahosin/nextjs-doesnt-render-pages-anymore-it-streams-something-stranger-11ij Read discussion |