-
Notifications
You must be signed in to change notification settings - Fork 50.3k
Closed
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
breaks the compiler introduced in the output. The memoization is skipped by the twobreaks, making the result ofuseMemoalways 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