You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, thank you for this react component. I have an issue, where I have this graph component in a functional (pure) react component inside a Material UI tab. Then I load a 300-node graph, which is rendering somewhat slowly, but consistently. But when I switch tabs, the browser remains laggy. When I switch tabs back to the graph, the graph is properly re-drawn, but is now much slower. Switching tabs back and forth just increases the lag.
Looking at the code, it seems to me that you don't unload the visjs network graph on component dismount?
The text was updated successfully, but these errors were encountered:
daliborfilus
added a commit
to daliborfilus/react-graph-vis
that referenced
this issue
Apr 28, 2022
Hello, thank you for this react component. I have an issue, where I have this graph component in a functional (pure) react component inside a Material UI tab. Then I load a 300-node graph, which is rendering somewhat slowly, but consistently. But when I switch tabs, the browser remains laggy. When I switch tabs back to the graph, the graph is properly re-drawn, but is now much slower. Switching tabs back and forth just increases the lag.
Looking at the code, it seems to me that you don't unload the visjs network graph on component dismount?
The text was updated successfully, but these errors were encountered: