dillon1000/react
Commit
Browse files [patch] Generate hook guards as function expressions
--- Arrow functions are not compatible with es3, which we sometimes target. This helps us make babel transform logic less complex
Changed paths2 files
First-parent comparisoncompiler/packages/babel-plugin-react-forget/src/ReactiveScopes/CodegenReactiveFunction.ts ModifiedM compiler/packages/babel-plugin-react-forget/src/__tests__/fixtures/compiler/flag-enable-emit-hook-guards.expect.md ModifiedPatch
Files changed
Rendering syntax-highlighted changes…