Next.js Discord

Discord Forum

Suspense not working

Unanswered
American black bear posted this in #help-forum
Open in Discord
American black bearOP
Hi i am using suspense and in my next app, usigin app router but suspense is not been showed in prod, it actually works as ecxpected in local but in prod no, can someone helpme, here is the code and an example

18 Replies

Are you using Next.js 14.0.0?
I've noticed the same thing.
American black bearOP
no, im using 13.5.4, dam next even use suspense in his conf but it does not work 😦
Hmm, I've had no issues with suspense before upgrading. Our issues may not be related.
American black bearOP
suspense doest not work for you in 13 and in 14 it works completly fine ?
No it was working fine in 13 for me, but, 14 the issue is as you described for me.
American black bearOP
hi
Shy Albatross
in 14 the Suspense stopped working for me with PPR when the app is hosted on Vercel, but it works well on local with both next dev and next build + start
it never streams in the suspended component
I sent a POC to Vercel and they will look into it tmr
American black bearOP
after reading and did not find any information i want to confirn something, so i deploy my app in vercel, and look a this
Shy Albatross
without PPR it's working fine
American black bearOP
apparenly suspense works fine in vercel deploy, because in my app we are using google cloud and it look like this
what ***, now im just thinking about stop working with next:nice:
Shy Albatross
your issue is more React than Next I think, it's just not rendering the fallback at all
American black bearOP
Yeah but how it can only works un vercel ?
Shy Albatross
same question I asked yesterday but in reverse - "how come it only doesn't work on Vercel" 😅 v14 is rough