dillon1000/react
Commit
Browse files [compiler] Repro for outlining bug in funcexprs
I discovered this compiler crash while trying to do an internal sync of the compiler. Any kind of outlining appears to crash the babel plugin when the component is a function expression. ghstack-source-id: 4f717674af91d4d4b730e64cbd7a144b9faab13e Pull Request resolved: https://github.com/facebook/react/pull/30443
Changed paths2 files
First-parent comparisoncompiler/packages/babel-plugin-react-compiler/src/__tests__/fixtures/compiler/error.bug-outlining-in-func-expr.expect.md AddedA compiler/packages/babel-plugin-react-compiler/src/__tests__/fixtures/compiler/error.bug-outlining-in-func-expr.js AddedPatch
Files changed
Rendering syntax-highlighted changes…