You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After my first contribution to react-compiler, I wanted to fix this too, but it seems already fixed?
I tried to install [email protected] or 0.0.0-experimental-ba7b8e5-20241213 which is out 2 days ago and on my project arrow function with implicit return are still not optimized, do you know @josephsavona which version include this fix? or maybe there is some option to pass to reactCompilerConfig?
What kind of issue is this?
Link to repro
https://playground.react.dev/#N4Igzg9grgTgxgUxALhAejQAgPIAcEB2mcEBkANgpgIYEAmmUBJAti4QC4A6BGxpYDpgCiMGAEZMAXkwAKAJTSAfJgA8dAJYA3TGiUBuHnxJkhomACZpcxVJWz123UvmHeWE4JFiAzNcc6ejxGWAAqABYaYJgA7hAwANbRAGYaBAgh-KaYAMLWCsqYwJmYmDAIHLBEAc6ZAL4gdUA
Repro steps
Any component created without curly braces will create an error in the console no compiler output is shown.
See playground link.
How often does this bug happen?
Every time
What version of React are you using?
react@rc
What version of React Compiler are you using?
19.0.0-beta-8a03594-20241020
The text was updated successfully, but these errors were encountered: