esnet / react-timeseries-charts

Declarative and modular timeseries charting components for React
http://software.es.net/react-timeseries-charts
Other
859 stars 283 forks source link

[Question] Refactor to use `vx` as backend in place of d3 #420

Open beasteers opened 4 years ago

beasteers commented 4 years ago

🌈Feature request

Looking thru the component sources, I've noticed that they are built some d3 placed in componentDidMount (especially axes) which makes react development difficult because it's bypassing the react rendering engine.

I just came across a library called vx which describes itself as a low level charting interface for d3 using React/jsx. I wonder what you would think about moving towards implementing react-timeseries-charts on top of vx?

I realize this isn't a trivial change so no pressure to make any large movements towards it, but it seems like it could help reduce the complexity of the backend for this package for the next big version.