Also I don't think useMemo or useCallback were a reasonable compromise ever.
Also I don't think useMemo or useCallback were a reasonable compromise ever.
React is the new IBM: you should learn it, you should understand its faults, you should probably still deploy it. You’ll never get fired for picking it, but it’s going to be expensive, bloated, difficult to get right, and it’s going to be joyless implementing it every step of the way. React is “the status quo mindset — the biggest enemy of pure innovation”.
I think the project has completely gone off of the rails and is now going through these cycles of self-inflicted complexity only to be solved several releases later with additional complexity. All the while, not really addressing the core issues that affect DX and ergonomics.React is the new IBM.
This is not React these days at all. Maybe when it was just an actually useful library. Not a hope now.
> It became the most popular in the landscape where all kinds of other frameworks existed
It became popular because it was simple, when it was simple. Then they did what all JS developers do. Find a problem for a solution.
Hooks are very non obvious / full of gotchas, and made react code no longer "just javascript".
now it seems the magic Vue had has gotten better, and was copied over but worse to react.
if react can fix it by compiling it away, cool. but fixing computer bugs is even less approachable than webpack.
I find very little reason for anyone, except services in the insta scale, to actually use this abomination, since CSS and html deliver the same user experience with plain SSR.
React is still not a better option for them.
The truth is that React was very good and probably would have remained pretty good to great even today if the original form had been iterated upon.
What we’re seeing today is nothing like the original react and should have been a completely different library in the first place.
I suspect if this completely library had been created without the advantage of piggy backing off the original highly successful React library’s fame, it would have made little to no headway on its own strength.
Heck, I’d be open to an argument that what we’re seeing today, a DSL that’s focused on making NextJS work, could even be considered a 3rd or 4th different library under the React moniker, after original React, hooks based React (even here the goal and meaning of hooks changed midway) and then the current NextJS DSL.
Some people (me) use React to build interactive web apps. That’s what it was designed for, and it works rather well. SSR is completely useless for me.