mirror of
https://github.com/react/react.git
synced 2026-09-28 13:14:03 +08:00
The Flight client dropped a leading `U+FEFF` from outlined text rows when it decoded binary input. `TextDecoder` consumed the character as an encoding signature, even though it was part of the serialized string. Both the Node and Web decoders now use `ignoreBOM: true` to preserve it. Regression tests cover one and two leading U+FEFF characters with normal chunks and with every UTF-8 byte delivered separately. They also include an inline-string control. The global `TextDecoder` Flow declaration now makes `fatal` optional and declares `ignoreBOM`, matching the API.
react-client
This is an experimental package for consuming custom React streaming models.
Its API is not as stable as that of React, React Native, or React DOM, and does not follow the common versioning scheme.
Use it at your own risk.