Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
i noticed that my project was feeling laggy. i put a log into the graph's
i tried not doing anything, and the re-rendering would stop after some time. however, even when i performed actions unrelated to the graph and the data being fed to the graph, the rendering would begin again. sometimes when idle it seemed to be re-rendering indefinitely.
is this normal/expected behaviour? i could understand if i was manipulating data that was being fed back into the graph, in which case of course re-rendering makes sense. but, as mentioned, re-rendering seems to occur when i am doing things completely unrelated, and when i'm not doing anything at all.
here's a gif where you can see in the dev tools that the count of 'graph render' logs is just going up and up, even though i'm not doing anything.