3 ms·
Am I right in thinking that you are using Vue.js to create/delete/update the DOM elements? If so, how does performance typically compare to using the usual D3 e
by LysPJ 7y ago
Am I right in thinking that you are using Vue.js to create/delete/update the DOM elements? If so, how does performance typically compare to using the usual D3 enter()/exit() etc methods for that?
- stared 7y agoI 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.