Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't call setState (or forceUpdate) on an unmounted component #1

Open
seandavidmcgee opened this issue Aug 10, 2018 · 1 comment
Open

Comments

@seandavidmcgee
Copy link

I'm getting this error:
Warning: Can't call setState (or forceUpdate) on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks in the componentWillUnmount method.
in Spring (created by Transition)

Any thoughts?

@drcmda
Copy link
Owner

drcmda commented Aug 10, 2018

I think I’ve fixed it in the upcoming React spring version. Will update soon.

drcmda pushed a commit that referenced this issue Nov 13, 2018
implement transitionMount prop
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

No branches or pull requests

2 participants