News for hackers. Stuff that matters.
Re:If Not React, Then What? by LtWorf on Saturday November 30, 2024 @06:32PM (#42284853)
Yes because loading 500 different css and js files is not a problem for performance.
Re:If Not React, Then What? by smrq on Saturday November 30, 2024 @07:22PM (#42285099)
They literally just said "unless the frontend is doing something profoundly stupid".
Re:If Not React, Then What? by yawaramin on Saturday November 30, 2024 @07:45PM (#42285222)
That's the norm in the React world nowadays. You should take a look at https://infrequently.org/2024/08/object-lesson/
Re:If Not React, Then What? by johnfn on Saturday November 30, 2024 @11:40PM (#42286237)
This article is better, but has very little to do with React. The major issues I see are 1) loading a 2.5 MB AWS library (not React), 2) not doing SSR (not React) and 3) not tree shaking (not React). I agree these are all problems. But shouting to the skies about React is not going to solve them.
Re:If Not React, Then What? by yawaramin on Sunday December 01, 2024 @01:19PM (#42289772)
'React' is really just a stand-in for the excesses of client-rendered apps. Do you really think Alex Russell, after writing all these blog posts about the general problem, thinks that React specifically is to blame? Of course not. He is picking it as an example that often causes higher complexity.
Re:If Not React, Then What? by LtWorf on Sunday December 01, 2024 @02:41AM (#42286901)
I think his definition of profoundly stupid probably differs from other people's.