react-digraph icon indicating copy to clipboard operation
react-digraph copied to clipboard

Warning: Can't perform a React state update on an unmounted component.

Open dpancho349 opened this issue 3 years ago • 1 comments

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

warning skill set

dpancho349 avatar Jan 18 '22 16:01 dpancho349

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.

mosofsky avatar Feb 05 '22 02:02 mosofsky