News for hackers. Stuff that matters.
Re:What's New in React 18? by pier25 on Wednesday September 29, 2021 @03:46PM (#28698926)
If your use case requires rendering and updating thousands of components, maybe React wasn't a good fit?

You could try switching to Preact which has better performance and should be painless.

https://krausest.github.io/js-framework-benchmark/current.ht...

Re:What's New in React 18? by Waterluvian on Wednesday September 29, 2021 @04:09PM (#28699231)
Not components. Elements that compile to a canvas. Think tens of thousands of points, lines, polygons, all drawn as vector or raster images. Ie. compiling a deeply rich interactive map of data.

I appreciate the advice but I didn't provide sufficient information for informed responses. It was just a general comment about why I'm excited for React 18 to help better manage concurrency in a number of ways.

Suspense will also be nice because I can eliminate a lot of my own "loading screen" logic.

Re:What's New in React 18? by pier25 on Wednesday September 29, 2021 @06:01PM (#28700561)
> Not components. Elements that compile to a canvas.

Ah right. I thought the canvas example was just an example.

Still, a faster framework would be better for high performance use case, no?