You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I use remix to stream render a page, sometimes garbled characters appear on the page when my data contains Chinese characters. I saw through debugging that react-dom inserts null characters when parsing, which causes an exception during merging.
I'm not sure how Remix handles React compatibility. I think it's mainly around react-router being compatible with 19 and that's planned for react-router v7 which isn't out yet.
I'm not sure how Remix handles React compatibility. I think it's mainly around react-router being compatible with 19 and that's planned for react-router v7 which isn't out yet.
Thanks for the prompt reply, I'll pin the version to 18.3.0-canary-c3048aab4-20240326 for now, it seems to be the last canary version of 18, 19 is a bit flaky and for actual production project we may need more comprehensive testing
React version:
18.3.1
Steps To Reproduce
When I use remix to stream render a page, sometimes garbled characters appear on the page when my data contains Chinese characters. I saw through debugging that react-dom inserts null characters when parsing, which causes an exception during merging.
react/packages/react-server/src/ReactServerStreamConfigNode.js
Line 75 in 7600225
and when
textEncoder.encodeInto
execDue to business issues, I can only provide a short reproducible fragment
The current behavior
When transmitting Chinese data, sometimes garbled code can occur
The expected behavior
streaming original data
The text was updated successfully, but these errors were encountered: