mirror of
https://github.com/cloudflare/vinext.git
synced 2026-05-09 08:25:34 +02:00
[GH-ISSUE #874] Suspense streaming doesn't seem to work with wrangler dev #194
Labels
No labels
enhancement
enhancement
good first issue
help wanted
nextjs-tracking
nextjs-tracking
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/vinext#194
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @LubomirGeorgiev on GitHub (Apr 23, 2026).
Original GitHub issue: https://github.com/cloudflare/vinext/issues/874
When I run my vinext app with
vinext devthe Suspense blocks get resolved and I can see the initial fallback which is correct.However if I build the app and run it with
wrangler devthe longest suspense promise hangs the whole page and the fallback is never visible.I made a reproduction repo here https://github.com/LubomirGeorgiev/vinext-next-safe-action
To reproduce it with the correct behaviour run
pnpm devand open http://localhost:3000/To reproduce the wrong behaviour run
pnpm previewand open http://localhost:8787/@southpolesteve commented on GitHub (Apr 24, 2026):
Thanks for the reports! I suspect this may be the same root issue https://github.com/cloudflare/workers-sdk/issues/8004
@LubomirGeorgiev commented on GitHub (Apr 24, 2026):
@southpolesteve I just deployed it here https://vinext-nextjs.lubomirgeorgievgeorgiev.workers.dev/ and it works fine, so if this is just an issue with
wrangler devI guess it's not so critical.Btw does that mean that
wrangler devand the cloudflare worker production environment don't run the exact same runtime underneath and it's possible that one thing could work locally but not when deployed and vice versa?@southpolesteve commented on GitHub (Apr 25, 2026):
They both use the same runtime: https://github.com/cloudflare/workerd. You should not expect any difference between local and production. If you see the attached wranglerissue it just seems that under wrangler dev it buffers larger chunks which causes issues. The team is looking into a fix.
@LubomirGeorgiev commented on GitHub (Apr 25, 2026):
Thanks