Skip to content

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