dillon1000/react
Commit
Browse files Move creation of scopes for primitives into a separate pass
Rather than force scopes to be created for primitives within InferReactiveScopeVariables, here we move the creation of scopes for these instructions to a later pass. Later in the pipeline we have more context, such as whether e.g. a primitive or propertyload is being accessed within a scope or not, and whether it therefore needs its own scope or not.
Changed paths1 file
First-parent comparisoncompiler/packages/babel-plugin-react-forget/src/ReactiveScopes/InferReactiveScopeVariables.ts ModifiedPatch
Files changed
Rendering syntax-highlighted changes…