Skip to content
This repository has been archived by the owner on Feb 18, 2022. It is now read-only.

Clearing animation timeout on unmount #28

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

joshgagnon
Copy link
Contributor

Prevents warnings stemming from setState being called when unmounted.

@joshgagnon
Copy link
Contributor Author

Just a msg to keep this alive, but I think this PR is worthwhile, as it prevents errors when the component is unmounted during an animation.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant