IjzerenHein / react-tag-cloud

Create beautiful tag/word clouds using React ☁️
https://react-tag-cloud.stackblitz.io/
MIT License
117 stars 27 forks source link

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 #8

Closed riccardogenova closed 5 years ago

riccardogenova commented 6 years ago

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.

On componentWillUnmount maybe you should unmount setState calling ?

screen shot 2018-06-22 at 14 47 54

IjzerenHein commented 6 years ago

Hi, thanks for letting me know. I've just published an update for this on NPM, v1.1.3 👍

IjzerenHein commented 5 years ago

Hi, can I close this?