Vinxi streaming example
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.GitHub
Fully typesafe Router for React (and friends) w/ built-in caching, 1st class search-param APIs, client-side cache integration and isomorphic rendering. - alessandrojcm/router
GitHub
Describe the bug Bug/feature request: Vite hot reloading does not work with react 18 renderToPipeableStream (https://react.dev/reference/react-dom/server/renderToPipeableStream). renderToPipeableSt...