Open sammy-SC opened 1 week ago
Summary: changelog: [internal]
Restarting animation state in componentWillUnmount may get the animation into inconsistent state, leading to broken behaviour. It is safe to restart the animation state inside of componentDidMount as this prepares the component when it is mounted.
componentWillUnmount
componentDidMount
Differential Revision: D57102842
This pull request was exported from Phabricator. Differential Revision: D57102842
Summary: changelog: [internal]
Restarting animation state in
componentWillUnmount
may get the animation into inconsistent state, leading to broken behaviour. It is safe to restart the animation state inside ofcomponentDidMount
as this prepares the component when it is mounted.Differential Revision: D57102842