-
-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question about react streaming #283
Comments
I quickly tried with |
Nevermind, I managed to get the warning, I'm checking it 👍 |
@brillout I might need your help on this one |
Is it reproducible without the universal handler part? I can have a look at a reproduction. |
@brillout It probably works when not using the universal handler (i.e. with node Stream). I managed to reproduce the issue with Universal Handler with any Server. To reproduce The issue seems to come from react-streaming/src/server/renderToStream/createReadableWrapper.ts being called too soon (for instance, if I just manually set timeout to 1000 it "works" in this particular scenario). I'm not familiar with So this seems related to |
👍 That'd be great. But let me know how it goes, I can have a look at it as well. |
@brillout I need help to fix vikejs/vike#1718 |
In the mean time, I disabled |
Fixed. Make sure to update both vike and vike-react to their latest versions. |
Thanks guys! 🥳 |
We refactored a couple of things. The handling of the React stream and its edge cases is now more robust, but let me know if you run into any issue (it's possible that I may have introduced a minor regression in and there). Btw. in case your company is up for it, we're looking for sponsors which makes a massive difference to the project. |
I created a new vite react using Bati with express, tailwind, vite and react.
When I serve the dev or preview I get this message in console about userAgent:
When I add userAgent in
vike-handler.ts
:I get the error message:
What would be the correct way to do this? This is a default fresh install with Bati so maybe this can be improved?
Thanks
The text was updated successfully, but these errors were encountered: