News for hackers. Stuff that matters.
Re:The self-fulfilling prophecy of React by Aeolun on Thursday September 08, 2022 @08:51AM (#32764761)
I dunno, by my reckoning the following are the top items in the category.

  Performance: Solid
  Learning curve: React
  Bundle size: ?
  Scalability: React
  Community and support: React
  Financial backing: React
  Developer experience: React
  Hireability: React
Re:The self-fulfilling prophecy of React by solardev on Thursday September 08, 2022 @09:30AM (#32765226)
Also...

"Good enough, let's spend time considering other things instead: React"

It may no longer be the best at anything anymore, but it's a polished well-rounder that will probably be fine for the typical web app. Less cognitive load when you just use it and follow the herd.

Re:The self-fulfilling prophecy of React by steve_taylor on Thursday September 08, 2022 @10:37PM (#32774655)
React wouldn't be my pick for scalability. For large, complex and dynamic pages, its performance is significantly degraded by the virtual DOM. There are various workarounds to limit the size and frequency of virtual DOM renders, but they can only go so far, which is why we now have concurrent mode. Solid and Svelte are more scalable in that sense.

Learning curve: Hooks can be quite unintuitive for the React beginner. React's learning curve was far gentler when all components were classes and the lifecycle was simpler.

Re:The self-fulfilling prophecy of React by Aeolun on Friday September 09, 2022 @08:27AM (#32778288)
I dunno, I’ve been with React for 4 years now, and while I’ve seen a lot of funky stuff, hooks weren’t generally the issue (though I wouldn’t say never).
Re:The self-fulfilling prophecy of React by thomaslord on Thursday September 08, 2022 @01:16PM (#32768566)
Are you putting react there because you consider it to have the largest learning curve? If not, I'd probably substitute Vue.

When I was first getting into reactive frontend frameworks it was part of a time-sensitive project, and we chose Vue because we could basically just write HTML and sprinkle in the reactivity. This was back in the Vue 2 days before they made everything functional, and I still think that older Vue API is the most self-explanatory for people who already know HTML and some vanilla JS.

Re:The self-fulfilling prophecy of React by danielvaughn on Thursday September 08, 2022 @09:18AM (#32765067)
Bundle size is probably Svelte, if I had to guess.
Re:The self-fulfilling prophecy of React by apd_ on Friday September 09, 2022 @02:33AM (#32776000)
What are some other frameworks that you use for comparison?
Re:The self-fulfilling prophecy of React by Aeolun on Saturday September 10, 2022 @09:09AM (#32790279)
Vue, Vue2, Solid, React, Svelte (only a bit). Those are the ones I have experience with anyway.