News for hackers. Stuff that matters.
Re:Transform SVG into React components by rmetzler on Monday October 30, 2017 @01:24PM (#15586962)
How would I go to represent rectangles, circles, text and lines with CSS and JavaScript? With Canvas? Is React able to render to canvas?

Sometimes SVG is a good fit for the graphics needed.

Re:Transform SVG into React components by kuschku on Monday October 30, 2017 @01:59PM (#15587317)
I meant styling the SVG — instead of replacing SVG with react (slow), use CSS to modify properties of the SVG DOM.

That is significantly faster.