dillon1000/react

Commit

Create a separate pass to prune non-reactive dependencies

The fact that InferReactiveIdentifiers is integrated directly into 
PropagateScopeDependencies has made the latter pretty tricky to debug at times. 
If a dependency is missing, we have to introspect and figure out if that's 
because it was somehow inferred as non-reactive. This PR creates a new 
PruneNonReactiveDependencies pass to separate out these phases.
Browse files
Changed paths3 files
First-parent comparison
M compiler/forget/src/CompilerPipeline.ts ModifiedM compiler/forget/src/ReactiveScopes/PropagateScopeDependencies.ts ModifiedA compiler/forget/src/ReactiveScopes/PruneNonReactiveDependencies.ts Added
Patch

Files changed

Rendering syntax-highlighted changes…