dillon1000/react
Commit
Browse files 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.
Changed paths3 files
First-parent comparisoncompiler/forget/src/CompilerPipeline.ts ModifiedM compiler/forget/src/ReactiveScopes/PropagateScopeDependencies.ts ModifiedA compiler/forget/src/ReactiveScopes/PruneNonReactiveDependencies.ts AddedPatch
Files changed
Rendering syntax-highlighted changes…