3 ms·
D3 js is well known, but it used to not work with React because of Reacts's virtual dom stuff, D3 works with the dom directly i beleive, i would assume there is
by jimbobbango 6y ago
D3 js is well known, but it used to not work with React because of Reacts's virtual dom stuff, D3 works with the dom directly i beleive, i would assume there is an npm package that allows u to work with both,
React Charts library was nice if i remember correctly
- jbreckmckye 6y agoGet React to give you a DOM reference and then run the D3 code with it during a post render callback or effect.
- rhodysurf 6y agoYou can just use D3 for the layout work and render with an SVG in react and it works really well.
- jimbobbango 6y agoits been a few years since i tried, thanks for the tip