mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
* Remove array indirection in host context * Keep a single context stack with a null sentinel This lets us keep subtrees separated without maintaining independent context arrays for subtrees. * There is always exactly one null by the time we pop a portal I was trying to be smart but didn't need to. * Cache current context