Update on "[compiler] Implement support for hoisted and recursive functions"
Summary: Introduces a new binding kind for functions that allows them to be hoisted. Also has the result of causing all nested function declarations to be outputted as function declarations, not as let bindings. [ghstack-poisoned]
Showing
- compiler/packages/babel-plugin-react-compiler/src/ReactiveScopes/CodegenReactiveFunction.ts 5 additions, 77 deletions...ct-compiler/src/ReactiveScopes/CodegenReactiveFunction.ts
- compiler/packages/babel-plugin-react-compiler/src/__tests__/fixtures/compiler/function-decl-nested.expect.md 0 additions, 86 deletions..._tests__/fixtures/compiler/function-decl-nested.expect.md
- compiler/packages/babel-plugin-react-compiler/src/__tests__/fixtures/compiler/function-decl-nested.js 0 additions, 22 deletions...r/src/__tests__/fixtures/compiler/function-decl-nested.js
Please register or sign in to comment