Is it possible to use React suspense in Next.js 13 without using the app directory?
Unanswered
Southeastern blueberry bee posted this in #help-forum
Southeastern blueberry beeOP
I plan to revert to the pages configuration due to numerous bugs in the 'app directory',
In that case, it's correct that I wouldn't be able to use React suspense, right?
In that case, it's correct that I wouldn't be able to use React suspense, right?
4 Replies
@Southeastern blueberry bee I plan to revert to the pages configuration due to numerous bugs in the 'app directory',
In that case, it's correct that I wouldn't be able to use React suspense, right?
you can still use Suspense, e.g. by using next/dynamic https://nextjs.org/docs/pages/building-your-application/optimizing/lazy-loading#nextdynamic
but the question is, what do you use Suspense for
Suspense-compatible APIs, such as async server components, are pretty rare, you have to use them to trigger Suspense
Southeastern blueberry beeOP
Thank you for the confirmation.
