Next.js Discord

Discord Forum

Suspended component get prerendered

Unanswered
Southeastern blueberry bee posted this in #help-forum
Open in Discord
Southeastern blueberry beeOP
components nested inside Suspense are pre-rendered during the build is this a normal behavior ?

3 Replies

And the components wrapped by <Suspense> are in fact dynamic?

If the Suspense is not triggering because there isn’t any async operation then it makes sense.
@LuisLl And the components wrapped by <Suspense> are in fact dynamic? If the Suspense is not triggering because there isn’t any async operation then it makes sense.
Southeastern blueberry beeOP
despite of being async the wrapped component was prerendered during build. There was also another issue where it was impossible to use suspense inside the children of components that use certain react hook without causing hydration issue (i was using canary version :thinq: )
You’re saying “was”, is the issue solved or you’re still having it?