javascript - React + d3js: Use React and parts of d3 or let d3 do it's own thing -
after reviewing several blog posts i'm left without satisfactory answer.
i've seen posts have react create component , d3 handles inside component (enter, update, exit) , i've seen posts recommend having react create , delete nodes inside svg , have d3 handle changing attributes on nodes.
i'm still pretty new react have ton of d3js experience. why want give react control of svg nodes instead of letting d3 handle visualization entirely.
what pros , cons?
i know react uses virtual dom , d3 uses similar (i think it's called smash).
for contextual information here few blog posts i'm referencing:
Comments
Post a Comment