News for hackers. Stuff that matters.
Re:Why I don't miss React: a story about using the platform by cyral on Tuesday May 03, 2022 @06:18PM (#31254325)
I also went this route and used d3 for the math but my own hand-made SVGs for the rendering so that the DOM is all in "react land".

You may want to check out this library: https://airbnb.io/visx/ They converted a ton of d3 features into proper React components

Re:Why I don't miss React: a story about using the platform by davidbarker on Tuesday May 03, 2022 @08:21PM (#31255376)
I’m a huge fan of visx after discovering it a few years ago. I recently needed to create a custom line chart and looked into numerous React-based libraries but none fit exactly what I wanted, so I went back to visx again. It requires more planning, but the results you can get (just like with d3) are incredible.
Re:Why I don't miss React: a story about using the platform by nawgz on Tuesday May 03, 2022 @07:19PM (#31254849)
Nice link, thanks! I built my own axes / legends / mouseovers but this other stuff looks awesome, really nice to be able to compose their parameters too if I offer something like a line chart etc. I will definitely try to integrate some of this
Re:Why I don't miss React: a story about using the platform by nazka on Wednesday May 04, 2022 @06:48AM (#31258738)
Awesome library. I used it back when it was named Vx with react-spring and d3. You can’t beat this combo.