dillon1000/react
Commit
Browse files Add signal codegen for ReactiveScopes
Instead of emitting a memo block, emit a function expression and pass it as an argument to derived (which will then create a computed). The naming of 'derived' needs to be tweaked.
Changed paths2 files
First-parent comparisoncompiler/packages/babel-plugin-react-forget/src/HIR/Environment.ts ModifiedM compiler/packages/babel-plugin-react-forget/src/ReactiveScopes/CodegenReactiveFunction.ts ModifiedPatch
Files changed
Rendering syntax-highlighted changes…