Skip to content
Discussion options

You must be logged in to vote

Hi,

The key bit in your example is that, without PPR, every time Page is hit - you'd need to render the entire top-down tree.

You can think of PPR as an enhancement that at build time, knows how to carve out the static shell, the bits that don't depend on the cookie, or dynamic behavior. The static shell boundary ends at the Suspense boundary.

So with PPR on, at build time the shell is calculated and extracted, and then on every new request, or when prefetching a page, the shell can be reused, and then we only need to collect the dynamic bit, and in your case, that'd get streamed to the client interactive javascript, rather than waiting for the whole thing to render server side, or being …

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@mtlaso
Comment options

@icyJoseph
Comment options

Answer selected by mtlaso
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
3 participants