mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
d295bb45167f265f99d7481ce0f3c84484677db8
When `MergeOverlappingReactiveScopes` identified scopes to be merged, it was currently (oops, my bad) updating the _existing_ scope's id and range. Later, PropagateScopeDependencies marks outputs of a scope by updating that identifier's scope instance — so if that scope instance isn't shared, then the output is lost. This PR fixes MergeOverlappingReactiveScopes to correctly update all operands for a scope to have the same scope instance.
Languages
JavaScript
67.1%
TypeScript
29.4%
HTML
1.5%
CSS
1.1%
C++
0.6%
Other
0.2%