Olical / lab

A place for experiments
http://lab.oli.me.uk/
The Unlicense
7 stars 9 forks source link

d3 v4 support #1

Closed jashuRc closed 6 years ago

jashuRc commented 6 years ago

This lab/js code is not working for d3 v4. How to draw chart in react using d3 v4 ?

Olical commented 6 years ago

I can't really help you, I have never used d3 v4, the only way to get it working would be to go through every call d3 now makes to the DOM and make sure there's some sort of support for it in react-faux-dom. It was designed with d3 v3 in mind, either stick to that or avoid react-faux-dom I'm afraid.

jashuRc commented 6 years ago

Thank You for reply.