-
Notifications
You must be signed in to change notification settings - Fork 49.1k
Open
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
(Update: made the repro shorter and more generic)
Repro steps
- See the playground link.
- Look at the two
break
s the compiler introduced in the output. The memoization is skipped by the twobreak
s, making the result ofuseMemo
always new in each render.
How often does this bug happen?
Every time
What version of React are you using?
Both 18.3.1 and the version used by Playground
What version of React Compiler are you using?
Both 19.1.0-rc.2 and the version used by Playground