React · Senior · Question 8 of 75

How does streaming SSR (renderToPipeableStream) work?

Explanation

The server immediately sends the shell with fallbacks, and when the data inside a Suspense boundary is ready, it appends HTML to the stream plus a small script that puts it in place. A slow block no longer delays the whole page. Streaming in the Next.js App Router is built on this.

Further reading

Problem with a question

React · Senior · question 8

Test yourself

Take the React · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz