Warning: Can't perform a React state update on an unmounted component.
For some strange reason, every time I enter and have interaction with the component and then I change to another tab where the component is not, I get this warning (Image attached) or sometimes when I interact with other components within the same tab after having interacted with the graph I get this warning.
I removed all the hooks that are handled in the component where the chart is located, however the warning persists when I do what I mentioned before.
Any solution?
This component souldn't show this warning in the console.
- OS: Windows 10
- Browser Chrome
I also see this on version 7.2.1 of react-digraph. I don't know the solution but wanted to post the version info since there are newer versions of react-digraph available now.