News for hackers. Stuff that matters.
Re:React is a fractal of bad design by bayesian_horse on Wednesday March 08, 2023 @05:12AM (#35067228)
The performance "disadvantage" of react (compared to what? SolidJS? handcrafted JS? some WASM thing?) is so small a user won't notice it in most apps in most places even if you don't actually optimize things.

Then indeed, abstractions a team can agree on matter more. Getting state management right matters. Hiring people and getting them productive quickly matters. Those are strong points in favor of React and even Angular, to an increasing degree for Vue, Svelte and others.

Re:React is a fractal of bad design by azangru on Wednesday March 08, 2023 @05:27AM (#35067326)
> The performance "disadvantage" of react (compared to what? SolidJS? handcrafted JS? some WASM thing?) is so small a user won't notice it

How can you know this? The only scientific way to approach this question is with real-user metrics and analytics.

Re:React is a fractal of bad design by bayesian_horse on Wednesday March 08, 2023 @06:15AM (#35067658)
Experience from using React for many years tells me. Rarely have I needed to optimize anything related to react to make something visibly snappier, and most of the time it's not really React's fault.

And there are some benchmarks that show SolidJS and some other things are faster than React at specifically what React is doing (like dom manipulation/reconciliation etc).

And yes, I'm talking broad strokes!