dillon1000/react
Commit
Browse files [Fiber] Remove array indirection in host context (#8544)
* 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
Changed paths1 file
First-parent comparisonsrc/renderers/shared/fiber/ReactFiberHostContext.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…