### What kind of issue is this? - [x] 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-hooks (build issue installing or using the eslint plugin) - [ ] react-compiler-healthcheck (build issue installing or using the healthcheck script) ### Link to repro https://playground.react.dev/#N4Igzg9grgTgxgUxALhAMygOzgFwJYSYAEAYhBABQCURwAOsUQORRgJEC2CHETDRRGAhyxiAQxgwAdBzEAHCtSIBeAHxEK-AUQBG5ADZEAZEY1btRADw7V5i1YAaRAPS3G9ojgQAPHHYGWzjZ2VFpUVADcDAC+DCAANCBwhGh4AOYoIPSMdCAImABueDCEXJh+KLR2ufliOvoIAFJg3gDyUDj6eJjdabnInjBQCFqxmNEJ4AAWEADuAJLlCDCYYvpgKGhrbNFAA ### Repro steps I wanna use compiler option ```js { "environment": { "enableJsxOutlining": true } } ``` but can't build my app due ``` Todo: (CodegenReactiveFunction::codegenInstructionValue) Cannot declare variables in a value block, tried to declare 't33' ``` ### How often does this bug happen? Every time ### What version of React are you using? 19 ### What version of React Compiler are you using? latest
What kind of issue is this?
Link to repro
https://playground.react.dev/#N4Igzg9grgTgxgUxALhAMygOzgFwJYSYAEAYhBABQCURwAOsUQORRgJEC2CHETDRRGAhyxiAQxgwAdBzEAHCtSIBeAHxEK-AUQBG5ADZEAZEY1btRADw7V5i1YAaRAPS3G9ojgQAPHHYGWzjZ2VFpUVADcDAC+DCAANCBwhGh4AOYoIPSMdCAImABueDCEXJh+KLR2ufliOvoIAFJg3gDyUDj6eJjdabnInjBQCFqxmNEJ4AAWEADuAJLlCDCYYvpgKGhrbNFAA
Repro steps
I wanna use compiler option
but can't build my app due
How often does this bug happen?
Every time
What version of React are you using?
19
What version of React Compiler are you using?
latest