mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
All entry points are for reconciliation are within batching strategies. Since we don't have any batching strategies with synchronous updates, there can't be more than one life-cycle method on the stack at any given time. Therefore, it's safe to move the composite life cycle flag to a singleton. This saves us some memory management. I think that we can get rid of these life cycle states completely in the future.