mirror of
https://github.com/facebook/react.git
synced 2026-02-27 03:07:57 +00:00
It is error-prone to push and pop context in begin or complete phases because of all the bailouts. Scheduler has enough knowledge to see if pushing is necessary because it knows when we go inside or outside the tree.