News for hackers. Stuff that matters.
Re:Kind of annoyed at React by coolThingsFirst on Sunday January 14, 2024 @08:26PM (#38996333)
Building web apps with React is just much faster than doing it without, even when using Angular complex apps will always be complex.

You can’t have an easy solution when you have tons of interaction and state.

Re:Kind of annoyed at React by ricardobeat on Sunday January 14, 2024 @08:45PM (#38996463)
What else have you personally had experience with? Angular would not be in my list of better alternatives.

My comparison is always with Svelte / Vue, and also what we had in previous eras (Backbone, Knockout, etc). HTMx is picking up steam too. We used to push out interactive UI in days/weeks, and mind you, in the past websites did not look all the same. There were no component libraries to start from. Today it seems most React projects are planned in months/quarters despite being built atop a mountain of third-party code, all meant to 'speed things up'.

What we do today is not faster at all, too much time is wasted on tooling and issues that arise from React's architecture (hooks, ssr, data loading, error handling, async issues, black-box performance issues, dependency hell).

Re:Kind of annoyed at React by shutupnerd0000 on Sunday January 14, 2024 @09:36PM (#38996844)
SSR issues and dependency hell are not unique to React.
Re:Kind of annoyed at React by flir on Sunday January 14, 2024 @11:09PM (#38997352)
> You can’t have an easy solution when you have tons of interaction and state.

Desktop software was never this fragile.

Re:Kind of annoyed at React by coolThingsFirst on Sunday January 14, 2024 @11:30PM (#38997475)
Fragile in what way, please specify
Re:Kind of annoyed at React by rstat1 on Sunday January 14, 2024 @09:03PM (#38996610)
I started a new React project back in December after being annoyed with Angular, just to see whether it would be any less annoying and/or quicker.

It's been neither of those things and I'm actually beginning to regret making that choice.

Re:Kind of annoyed at React by coolThingsFirst on Sunday January 14, 2024 @11:35PM (#38997501)
The learning curve is steep for React, you’ll struggle without solid JS skills
Re:Kind of annoyed at React by ricardobeat on Monday January 15, 2024 @12:39PM (#39003634)
You'll also struggle with solid JS skills - even the best FE devs I know, working for top tech companies, are able to produce React spaghetti.