Skip to content

Streaming vs PPR #9367

Answered by sergiodxa
Gallevy asked this question in Q&A
Discussion options

You must be logged in to vote

Not exactly, Next PPR is an evolution of SSG, where the static apps (usually an app shell) is generated as HTML at build and then when a request comes the hosting can start sending that static HTML and stream the dynamic data.

While Await is like React.use new hook coming in v19 (Await will most likely be deprecated once v19 is stable), and defer that's being deprecated now with Single Fetch allows you to as the name says defer data, usually this is done for non critical data.

This means that even with defer the browser will wait for all loaders to finish getting any critical (not deferred) data and then it will get a response.

The deferred data will be streamed to the browser the same wa…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Gallevy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants