You ruined React.

But it was quite profitable for you.

React was ruined from the moment they abandoned class components and introduced hooks. Vercel is just continuing the trend of hype against common sense.

You are probably a Javascript dev, not doing typescript? Classes were horrible to type for, especially when you tried higher-order components. Hooks removed so much clutter and friction and allows pretty well-typed components and higher order functions (i.e. hooks that return components).

Yes, they were uglier but they had advantages that got lost such as an easy to control rendering life cycle.

Just opening dev tools on MIT-written big tech corps and startups confirms nobody is able to write good websites or applications that arent filled with performance and memory leaks.

I just don't understand this take, every time I hear it I wonder if people just haven't spent the time to adjust their mental model.

Hooks are IMO the best thing that happened to react.

I have spent more time than I wished for on React debugging tools, and useXXXX spaghetti calls.

You can write spaghetti with class components, too. Doesn't sound like a hooks issue to me.

I certainly can, but somehow it cooler to write lambdas upon lambdas, and other Haskellisms when using hooks.

I think we're just gonna agree to disagree. Cheers.

Spot on, incredible how OOP hate can mess up a framework.

Vercel, the only thing they have going for the app model mess, are the partnerships with SaaS vendors that make them the must go tooling.

However this will eventually come to an end.

It wasn't OOP hate, it was hatred of splitting functionality across a number of methods rather than putting it in a single (reusable, sharable!) hook and having your component consume it.

Yeah, because now is so much better....

I only touch React now, because of SaaS partnerships with Vercel.

Otherwise I pretend it doesn't even exist.