-
Notifications
You must be signed in to change notification settings - Fork 80
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
cancel all subscriptions and asynchronous tasks in the componentWillUnmount method #8
Comments
Hi @edwardfhsiao! Thank you. Cheers! |
1 task
Hi @edwardfhsiao! Could it fix the issue? |
yes I think so |
Fixed by #9. |
1 task
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I've encountered this problem
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 ReactMinimalPieChart (created by Index)
in div (created by Index)
in div (created by Index)
in div (created by Index)
in div (created by Index)
in div (created by Index)
in div (created by Index)
in div (created by Index)
in div (created by Index)
in div (created by Index)
in Index (created by Connect(Index))
in Connect(Index) (created by AsyncRoute)
in AsyncRoute (created by Route)
Not sure if is the component issue. If it is, maybe you can cancel the asynchronous tasks in the componentWillUnmount?
Thx
The text was updated successfully, but these errors were encountered: