Why did nobody dethrone React? That is the question that Dax asked on X and I've got my own take on that. And this is Better with Kent, where you learn durable skills. I've got some durable skills that you can learn from the history of React. Like what happened? Why did nobody actually manage to dethrone React? And is it possible that that could still happen? And then does it matter? So here's what Dax said. It's worth deeply studying why no framework dethroned React. It's completely misunderstood, and it's why every prediction you see by programmers tends to be wrong. And once you get it, you can apply this understanding to nearly everything you do. Oh, that is true. And once I explain exactly what happened here, then you'll be able to apply this to everything you do as well. Really great take, Dax. So here, first I want to just say I feel really vindicated by this post because way back in 2020, I was telling people, and even beyond that, this is just the earliest I could find on X. But I was telling people that React is the last UI library anyone needs to learn. And the reason that I believed that was because computers will take care of creating apps for us, which is kind of an interesting take in 2020 before ChatGPT came out. But I think back then, many of us could see that AI was slowly getting more and more capable, and it was only a matter of time before AI could start actually creating programs and stuff for us. And so it kind of took a different shape than I expected it to, of course, but I think that most of us could see the writing on the wall that like, yeah, AI is going to get really good at writing software. And here we are. So why did I say that React is the last UI library you need to learn? Well, it's because it doesn't matter now which framework you use, as long as it's got like a bar of functionality, it really doesn't make a difference. For myself, I'm actually using Remix primarily for most of the active stuff that I'm working on. And the agent is really good at Remix with the right documentation and the right skills. So it doesn't even need to be in the training data for the model to be good at writing code for it. I'm having a really excellent time with Remix. I've had exactly zero issues with the model mixing up Remix with React. And Remix is like almost just like React in a lot of ways. Like, there's no hooks. There's a different like setup closure and a whole like a lot of things that are very different about Remix and the model is able to just manage that just fine. So you don't actually need to learn Remix to be able to use Remix. And so what I said all the way back in 2020 and before was definitely has already come to pass. You do not need to learn anything else. And that is why we can say that React was the last library you needed to learn. Now let's get back to Dax's original question, studying why React was so successful. The success of React was functional at first, and social and emotional once it had adoption. That's why it won and was never unseated, all the way to the point where now your choice of framework doesn't materially matter anymore. Now, some people came back at me with this and they were like, well, it was kind of useful that it was Facebook that came out with this. And yes that does have some material benefit because it lended credibility so that it was worth people's attention. But that's not actually necessary. And in fact even became a deterrent after a little while. So what is the true success story of React? Why was React so successful? The reason it was successful was first because of that functionality. So yeah, of course, like Facebook comes out with something, okay, I'm going to give it my attention. But you're not going to hang onto my attention if it isn't functionally better than what I already have. And not just like it's like marginally better but significantly better. For myself I was using Backbone.js and AngularJS before I showed up to the React scene. And when I looked at React I saw a couple of things that were really unique about React that made it materially better than what I was using before. With Backbone it was really difficult to make sure that my state and my UI were in sync. And that's why I had to do a lot of manual stuff for that. With React I had a simple state mechanism and any time I change state it just re-rendered everything making it a lot easier for me to manage and think about state of data changes over time which is what state is. And so being able to manage that really easily in the UI was a huge functional benefit for React. The other thing that was really nice about React is composition. It was a framework that really gave us the tools to be able to say okay here is a component that is reusable in many different places and composes really nicely with the other components. And so you can have kind of a black box here with minimal leaky abstractions. And then finally the ability of React to just slip into an existing project was really powerful as well. So the web is unique. People from all backgrounds and experience levels have to have some web presence. And so you've got people who are doing Python and Ruby and everything, all converging on the web and having to build some sort of front end UI. And so React's laser focus on just the UI was also a huge benefit as well to be like okay you can use whatever libraries or write your own things for all the other pieces. We're just going to focus on the rendering portion of that. And that was really significant in its ability to acquire adoption. So the success was functional at first. That's all that really mattered. Okay, like, we're going to give them credibility because they are coming out of a credible company. And so okay I'll pay attention. And actually if you look back at like the video and the comments on there, people hated React at first. But it gave them attention because it came out of Facebook. And then anybody who just gave it five minutes realized oh no this is actually really really great. And because of that functional piece. Now that is not enough because somebody could come later and come out with something that is more functional has better performance or has better other aspects that make it easier to write the code. And you can argue that Svelte and Vue and Solid and a variety of others, now Remix, you could argue that each one of these has aspects that are better than React on a functional level. But that's not why React has been able to stay on the top. The reason that React stays on top is because of the social and emotional aspects. Now once React hits that critical mass. Now everybody's just using React. It's the easiest one to learn to get a job. It's the easiest one to hire for because everybody knows it. It's the easiest one to find a library for because everybody's building for it. And also because it is so focused it adapts really well to however you're building your existing application. But everybody is using it so everybody uses it. And that is the social and emotional pieces like I don't want to get fired for choosing the wrong framework. And so I'm just going to choose React. And nobody will blame me if things don't go well because well everybody's using React. It's the same sort of concept as like nobody got fired for choosing IBM right. So things do change over time. And so the question is well okay. Eventually another framework could develop some sort of critical mass. And now it becomes a lot easier to choose something else. But the reason that that didn't happen is because now it actually doesn't really matter. Whether my agent decides to use React or Vue or Svelte doesn't make a material difference to me, because each one of those frameworks is capable of doing what the other frameworks are doing for like most intents and purposes. I know in the comments you're going to be like well what about RSC and like I hate RSC like whatever. Feel free to have those discussions amongst yourselves. Be very nice to each other. But I think that it's not really material ultimately for the vast majority of applications. And this is why I say it's the last framework you need to learn, because you don't need to learn any other framework in the future because the agent is going to do that. Now some of you are saying, wait, whoa, Kent, you gotta still read the code. You gotta understand what it's doing. And yes, I agree that you need to understand the system in which your software is operating in and what your agent is doing. Yeah, you need to understand that system. But understanding when and where to use useState, that is not what we need to be doing anymore. We are systems designers. We are product engineers thinking about the primitives that are available for our agents to use to solve our users' problems, and the specifics of how you manage state and all of that stuff, that's gone out the window. Now our agents are doing that. And so I am using Remix primarily, but I don't really know Remix very well. I know like a couple of things, but I've never taken time to sit down and really learn Remix because I don't need to. I just provide the documentation to my agent and it does a really, really good job with that. Now, if you're building a framework, then that's great and you're going to need to spend a lot of time thinking about the APIs and everything, but your consumer, your user is the agent in this case. Now let's bring it back to Dax here. So he said it's completely misunderstood. I agree. I think some of you are going to have a different understanding. A misunderstanding of how and why React was so successful, but let's talk about the "once you get it, you can apply this understanding to nearly everything you do." Now the interesting thing about functional social and emotional aspects of the success of React that's jobs theory. And I made a video about that a while back. So you go take a look at a jobs theory video that I made, but the basic idea is that people will evaluate different products like they are hiring different employees to accomplish a specific job that they want that product to do. And so you hire it based off of its functional, its social and emotional needs that it satisfies. And so, like I said, at first it was all functional, but then everybody kind of got to this basic same level of functionality. And so now you have to differentiate yourself on the social and the emotional needs as well. And that is where React won because it was just so ubiquitous, its ecosystem was massive and all of that. And much to the chagrin of the competing frameworks, it was just that was the fact. And it was very, very very difficult to beat those network externalities. But if you're looking at a product you're building, I think you should just learn jobs theory and apply that and figure out, okay, what's the job statement that I'm going to use as my North star for guiding this feature in my product or this entire product or like this internal tool that I'm trying to get adoption inside of my company for, whatever it is, it's jobs theory. That's why React was so successful and why React was never unseated. If you disagree with me, throw that in the comments below. But that's going to do it for us today. Make sure to like, comment, and subscribe, and I look forward to seeing you in the next episode of Better with Kent, where we learn durable skills to make ourselves better. Thank you so much for getting better with me.