Nii
TTCTheo's Typesafe Cult
•Created by Nii on 5/14/2023 in #questions
NextJS 13 component chunk streams + Vercel
Hi, I'm trying out the new Next 13 app directory with streaming functionality, and try to progressively load my UI with suspsense
I try to show one Feed component that has a delay of 2 seconds and another that has 5 second delay, both showing a fallback UI with suspense.
All works as intended on the localhost Next development server, but once deployed on Vercel, both Feed components only show their result when the last one has finished their delay. They suspense together instead of independent.
Feed component: https://pastebin.com/Ky37XGLM
Page.tsx: https://pastebin.com/Jwss1PXU
Anyone know what is causing this behaviour once deployed on Vercel?
1 replies