-
-
Couldn't load subscription status.
- Fork 3.3k
Description
I am testing v5 alpha from #416 and noticed that after some time every re-render in one of my components starts triggering following warning:
Can only update a mounted or mounting component. This usually means you called setState() on an unmounted component. This is a no-op. Please check the code
My best guess is that there is a memory leak somewhere and new connect holds a reference to unmounted component. Triple checked that it doesn't happen with 4.4.5.
It doesn't happen right away, only after I switch back and forth between routes that re-render a lot of components. I don't have time to dig deeper and set up a test project, but I can create a branch in my public repo where it's happening to reproduce. Please let me know if you want this.