4 ms·
I used to do performance-sensitive things in D3.js (e.g. many moving dots). For projects with Vue.js, the performance was not my concern. In any case, if need
by stared 7y ago
I used to do performance-sensitive things in D3.js (e.g. many moving dots).
For projects with Vue.js, the performance was not my concern.
In any case, if needed, you can use D3.js rendering within a Vue component.
- LysPJ 7y agoThanks, that makes sense. I'm currently doing D3.js rendering within a Vue component. I suspect that my code will be cleaner if I switch to the Vue.js constructs for managing the DOM, rather than D3's enter()/exit()/update(), so even if the performance is ultimately the same, there should still be a maintainability win. It sounds like it's worth me doing a Vue implementation and running some benchmarks.