Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> I.e. the data calculations and the drawings shouldn't be done in the same framework (thats were React comes into play).

I used to think so too; but I don't any longer. Rendering in React is fairly expensive. It may easily turn out that direct DOM manipulation is better suited to visualizations than DOM manipulation through React.



Data calculations and rendering should be done in the same framework if you wish to optimize interactivity.


I get your point and tend to agree; the issue I have is that d3 drawing and updating, along with internal events (i.e. d3 custom dragndrop implementation) don't play nicely together with React (or Angular or Vue, for that matter). But I admit, I wouldn't know how to improve on that.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: