Skip to content

Difference between partial rendering(PPR) and the current streaming suspense? #58322

Discussion options

You must be logged in to vote

PPR lets you render the entire page at build time, with the exception of Suspense wrapped components (likely other exceptions, but specific to this question that's the difference).

With streaming/suspense, you render the entire page on request. Suspense lets you fetch data in parallel, and streaming lets you replace the suspense component with the fully rendered bits as each of them finish. But everything is done on request time.

With PPR, you render part of the page at build time and part of it at request. Anything that can be rendered at build time, is rendered at build time. Everything else should be wrapped in Suspense (with a fallback to prevent jarring CSS behavior).

So instead of n…

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@lbittner-pdftron
Comment options

@ssijak
Comment options

@paulgrieselhuber
Comment options

@Connor-Skudlarek
Comment options

Answer selected by jovanhartono
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
7 participants