Vinxi Streaming Example is broken #1260
Unanswered
alessandrojcm
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there, I am currently trying to fix the Vinxi SSR streaming example. I've updated it to the latest version and fixed the breaking changes, but I cannot get it to work properly. Firstly the Vite HMR is broken because the client cannot find the Vite preamble, this is apparently due to the vite react plugin not supporting streaming correctly (it does not add the preamble automatically when streaming). The preamble needs to be added once streaming is ready and needs to be and async module. But I cannot find out how and where to render it, Vinxi already returns the preamble as part of its manifest but the module is not async. If I manually mark it as async then the router throws with a
_a.assets
is null, maybe this is a hydration error? Any ideas here? Thanks.Beta Was this translation helpful? Give feedback.
All reactions