Part 07 / Topic 1 of 7
What streaming actually means
Every lesson through Part 6 produced one complete HTML document per request — slow or fast, the browser got nothing until the whole thing was ready. Streaming changes that: the server starts sending the response before it has finished generating all of it, using HTTP's chunked transfer encoding. The browser starts painting the first chunk while the server is still working on the rest.
Reading directly from the installed package's own streaming guide, three pieces work together on first load:
| Piece | What it is |
|---|---|
| The static shell | Everything that renders before any async work resolves — layouts, nav, and your <Suspense> fallbacks. Sent immediately. |
| The HTML stream | Progressive HTML chunks: the shell first, then each Suspense boundary's resolved markup as it finishes, each carrying a small inline <script> that swaps it into place. |
| The component payload | A serialized description of the component tree, embedded in the same stream, that React uses to hydrate the page. |
Each <Suspense> boundary is its own independent streaming point — the installed guide's own words: "Components inside different boundaries resolve and stream in independently. They don't block each other." Section 2 proves that for real, not just as a claim.
Done here? The practice set for Part 7 — including the solutions — is on the part page.