-
Notifications
You must be signed in to change notification settings - Fork 49k
Open
Labels
Component: React CompilerStatus: UnconfirmedA potential issue that we haven't yet confirmed as a bugA potential issue that we haven't yet confirmed as a bugType: Bug
Description
What kind of issue is this?
- React Compiler core (the JS output is incorrect, or your app works incorrectly after optimization)
- babel-plugin-react-compiler (build issue installing or using the Babel plugin)
- eslint-plugin-react-compiler (build issue installing or using the eslint plugin)
- react-compiler-healthcheck (build issue installing or using the healthcheck script)
Link to repro
Repro steps
When passing a unicode character as a prop, like <MyComponent text="welcome 👋" />
then in RC output code we can see <MyComponent text="welcome \uD83D\uDC4B" />
- unicode character gets replaced by "stringified" UTF-16 representation of it.
Expected result (on the screen)
Welcome 👋
Actual result:
Welcome \uD83D\uDC4B
How often does this bug happen?
Every time
What version of React are you using?
19.1
What version of React Compiler are you using?
19.0.0-beta-ebf51a3-20250411
marlass
Metadata
Metadata
Assignees
Labels
Component: React CompilerStatus: UnconfirmedA potential issue that we haven't yet confirmed as a bugA potential issue that we haven't yet confirmed as a bugType: Bug