techniq / layerchart

Composable Svelte chart components to build a wide range of visualizations
https://www.layerchart.com
MIT License
663 stars 12 forks source link

`ForceSimulation` keeps redundantly re-initializing all forces any time any other (non-force) props change #204

Closed regexident closed 5 months ago

regexident commented 5 months ago

In addition to https://github.com/techniq/layerchart/issues/201 the ForceSimulation also redundantly re-initializes its forces even if props that are entirely unrelated to forces exhibit a change.