mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
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.