mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
c424cbbfa7822b47fc73b112514426d149d3c98a
Adds an internal compiler assertion pass which checks that all the instructions which are necessary for constructing a given scope correctly end up within the corresponding ReactiveScopeBlock. All known cases where this can occur are fixed earlier in the stack, but this assertion will help us catch any other cases we haven't thought of. See docblock comment for more info. ## Test Plan I manually reverted the fixes from the previous PRs while keeping the new fixtures, and verified that this new assertion pass flags the fixtures as invalid.
Languages
JavaScript
67.1%
TypeScript
29.4%
HTML
1.5%
CSS
1.1%
C++
0.6%
Other
0.2%