Skip to content

Component Composition with useSuspenseQuery results in request waterfall #8537

Answered by TkDodo
factblock-kyle asked this question in Q&A
Discussion options

You must be logged in to vote

Oh I think next14 will use the React 19 canary versions (no matter which version of react you have specified!), so it’s possible that they have this exact suspense issue. I’d recommend updating next.

Also, using suspense during SSR without prefetching or our experimental streamed hydration means requests will run on the server, but won’t wind up in the client cache, so they have to run again on the client.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@factblock-kyle
Comment options

@TkDodo
Comment options

Answer selected by factblock-kyle
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