react-progressive-image-loading icon indicating copy to clipboard operation
react-progressive-image-loading copied to clipboard

Fixed "setState on unmounted component"

Open SimonErich opened this issue 6 years ago • 1 comments

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.

SimonErich avatar Mar 24 '19 00:03 SimonErich

Thank you!

wcandillon avatar Mar 24 '19 08:03 wcandillon