mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
3af73834d9
This was used for any invariant that was subsequently removed. It turns out that this is completely unnecessary now. Any setState calls will enqueue and update and the component added to the update queue. However, since the pending fields are reset after componentWillUnmount, any update will still be ignored.