mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
5e4e2dae0b
A class component `setState` callback should not fire if a component is inside a hidden Offscreen tree. Instead, it should wait until the next time the component is made visible.