News for hackers. Stuff that matters.
Re:How to start a React Project in 2023 by jansommer on Friday March 24, 2023 @01:33PM (#35292620)
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()....).
Re:How to start a React Project in 2023 by hdhrufjdi on Friday March 24, 2023 @09:02PM (#35297930)
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.