Streaming: Progressive Page Rendering
Streaming allows you to progressively render UI from the server. Instead of waiting for all data to load, you can show parts of the page immediately.
Traditional SSR vs Streaming
| Traditional SSR | Streaming SSR |
|---|---|
| Fetch ALL data | Start rendering immediately |
| Render entire page | Stream HTML chunks as ready |
| Send complete HTML | Progressively hydrate |
| User sees blank → full page | User sees shell → content fills in |