Re:How to start a React Project in 2023
by zdragnar on Friday March 24, 2023 @01:20PM
(#35292382)
The problem with Angular (back when I used it, around versions 4-6) was that it had a ton of opinions, and they were half baked. Angular had its own plugin for driving flex layouts, and roughly 90% of the bugs we had were related to one of those plugins.
[ Parent
| on HN ]
Another problem I've seen is that the default data binding being taught to new comers is slow. At least slow enough for a team I was on to later have switched to an approach where you must manually tell the UI when to update with calls to detectChanges() all over the place. The way to avoid that is to fully embrace Reactice Extensions, but that seems to be very hard to grasp for a lot of developers that instead work around the library in all sorts of quirky ways (subscription()'s everywhere, that you must remember to dispose, that calls detectChanges()....).
You are probably talking about rxjs, possible even ngrx.
I have become to love it.
However, it should be way simpler now with the upcoming Angular version that's supporting signals now.
Re:How to start a React Project in 2023
by jansommer on Saturday March 25, 2023 @06:34AM
(#35301299)
Yes, the rx in rxjs means Reactive Extensions. I think it's perfect for UI dev, but the steep learning curve excludes a lot of developers.
Signals look identical to React hooks.
Regarding the flex layout thing, they decided to deprecate it.
https://2022.ng-conf.org/a-new-layout-ahead
More recent versions (I'm currently on 15) don't seem to have these issues, as least from my working with them. I started an enterprise product on version 13, the upgrade path to 15 has been smooth and so far, so good.