Skip to content
Discussion options

You must be logged in to vote

Hmm I see it might be just that. I was playing around more and found that a fetch call with { cache: 'no-store' } is also a valid dynamic API call. So after making that change and removing the await connection() function call, I am able to get the /pokemon route to be built as partially pre-rendered.

Although { cache: 'no-store' } is the default for fetch from Next 15 and above, for PPR to work with a component only has fetch as a dynamic API call it needs to be specified explicitly.

Replies: 2 comments 13 replies

Comment options

You must be logged in to vote
13 replies
@kryptonian41
Comment options

@kryptonian41
Comment options

@icyJoseph
Comment options

@kryptonian41
Comment options

Answer selected by kryptonian41
@kryptonian41
Comment options

@kryptonian41
Comment options

@kryptonian41
Comment options

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
Labels
None yet
2 participants