mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
1bc975d073
* Don't stop context traversal at matching consumers Originally, the idea was to time slice the traversal. This worked when there was only a single context type per consumer. Now that each fiber may have a list of context dependencies, including duplicate entries, that optimization no longer makes sense – we could end up scanning the same subtree multiple times. * Remove changedBits from context object and stack Don't need it anymore, yay