News for hackers. Stuff that matters.
Re:Show HN: ReactCircle – Renders SVG circle and percentage by kuschku on Monday April 23, 2018 @10:02AM (#16903449)
Use a canvas and render the component directly? You’re rendering a circular progress bar, that should be easily doable in microseconds if not nanoseconds. There’s no need to use the overly bloated DOM for everything.

I suggest taking a look at Android’s views or even Flutter.

Re:Show HN: ReactCircle – Renders SVG circle and percentage by btcindivist on Monday April 23, 2018 @10:54AM (#16903894)
But there's only 3-4 DOM elements. I'm pretty sure doing this in canvas is not as trivial as this.
Re:Show HN: ReactCircle – Renders SVG circle and percentage by kuschku on Monday April 23, 2018 @11:44AM (#16904413)
Of course it’s not as trivial. But you can control the animation much better, and you can have much better performance.