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

setState being called when window off screen #7

Closed
kylemilloy opened this issue Nov 21, 2016 · 1 comment
Closed

setState being called when window off screen #7

kylemilloy opened this issue Nov 21, 2016 · 1 comment

Comments

@kylemilloy
Copy link
Contributor

Error:
Warning: setState(...): Can only update a mounted or mounting component. This usually means you called setState() on an unmounted component. This is a no-op.

Possible Fix:
componentWillUnmount needs to be updated remove listeners. Suspect the onLoad callback is firing if you navigate away too quickly.

@kylemilloy
Copy link
Contributor Author

Resolved in 0.9.8

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

1 participant