Skip to content

Conversation

@sladek-jan
Copy link

In some scenarios, the animation may finish when the component is already unmounted. The setState call will then trigger a memory leak warning. By calling stop() in componentWillUnmount, the animation callback will be called synchronously before the components actually unmounts.

@jayarjo
Copy link

jayarjo commented Jul 29, 2024

I think whole thing is now a functional component. Is this problem still actual?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants