Post

If AI is writing software from now on, to any meaningful degree, React should be absolutely dead. The *only* benefit of React was that most human engineers already knew it. It's the worst choice in literally every other way. If humans aren't writing your code, your code shouldn't be in React.

Think about it: React is the worst modern framework in terms of performance. Its only benefit was the ecosystem size; it's the default choice. You can always find what you need, and you can always hire for it. But if AI is writing the code anyway, those benefits fly out the window.

If you're just thinking, "but *I* need to read the code," then: 1. Your belief in the capability of AI seems a little sus; and 2. Your abilities as a developer seem pretty sus to me too, TBH. You're telling me you can't learn a new framework *even when a machine's doing all your other work*?

It's actually interesting to think about how far you'd go down this road. Why use a framework at all? Why not use web components? Or vanilla JS? If your concern before was readability and maintainability, why doesn't your opinion change when you're not the one doing the reasoning and maintenance?

0 reposts6 likes

I like this framing React solved some problems when it was created, the web environment evolved since that time and solves them natively. But people got used to React, it has good (great) docs and tutorials... For some years it feels like inertia is keeping people tied to it, not its benefits.

Of course, some people just don't think AI is that capable in the first place, and that's fine. I'm just talking about the people who really think humans writing code is over. If that's the case: why aren't you optimizing for performance? Why use the worst framework when everything costs the same?