drcmda / mauerwerk

⚒ A react-spring driven masonry-like grid with enter/exit and shared element transitions
MIT License
836 stars 55 forks source link

Can't call setState (or forceUpdate) on an unmounted component #1

Open seandavidmcgee opened 6 years ago

seandavidmcgee commented 6 years ago

I'm getting this error: 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 Spring (created by Transition)

Any thoughts?

drcmda commented 6 years ago

I think I’ve fixed it in the upcoming React spring version. Will update soon.