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

Fixed "setState on unmounted component" #37

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

SimonErich
Copy link

Although an unmount mechanism is implemented, we still get the "setState on unmounted component" error.
We have managed to find the problem lying in a typo of the lifecycle method name.
Instead of "componentWillUnMount" it should be "componentWillUnmount".

With this, the error disappears.

Although an unmount mechanism is implemented, we still get the "setState on unmounted component" error.
We have managed to find the problem lying in a typo of the lifecycle method name.
Instead of "componentWillUnMount" it should be "componentWillUnmount".

With this, the error disappears.
@wcandillon
Copy link
Owner

Thank you!

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