News for hackers. Stuff that matters.
Re:React 19 by homebrewer on Thursday December 05, 2024 @05:58PM (#42333815)
What are y'all doing with it that apparently makes it slow? I've been developing a massive react application for the past two years, and it's plenty fast and very responsive even on my mid-2019 middle of the range Android phone. And I'm saying that as someone who refuses to use Electron and trims down Linux desktops to bare essentials to save as much memory and CPU cycles as possible.

It's an interactive business analytics, one of those use cases where an SPA makes sense — 15 years ago it would have been a native desktop application.

We just follow the usual guidelines, no extraordinary optimization techniques or anything like that.

Re:React 19 by subarctic on Friday December 06, 2024 @01:02AM (#42336847)
Have you don't nothing to optimize it? One pattern we've had to adopt is wrapping every component in react.memo