Next.js 13: generateStaticParams breaks suspense? #43076
Unanswered
OtisTemler
asked this question in
Help
Replies: 1 comment
-
Hi! are there any updates? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Not sure if this should / should not work, but whenever I add
generateStaticParams
on either apage.tsx
orlayout.tsx
<Suspense>
stops working and NextJS will wait for the requests in<RecommendedProducts />
and<Reviews />
to be finished before any content is displayed.E.g:
This works perfectly:
But this waits for every request in the components to complete before any content is displayed:
Beta Was this translation helpful? Give feedback.
All reactions