dillon1000/react
Commit
Browse files [compiler] Allow hoisting of destructured variable declarations
Summary: It doesn't seem as though this invariant was necessary ghstack-source-id: b27e76525911d5cfc1991b5cfdb7b2074c039e21 Pull Request resolved: https://github.com/facebook/react/pull/30699
Changed paths3 files
First-parent comparisoncompiler/packages/babel-plugin-react-compiler/src/HIR/BuildHIR.ts ModifiedA compiler/packages/babel-plugin-react-compiler/src/__tests__/fixtures/compiler/hoist-destruct.expect.md AddedA compiler/packages/babel-plugin-react-compiler/src/__tests__/fixtures/compiler/hoist-destruct.js AddedPatch
Files changed
Rendering syntax-highlighted changes…