People were making this prediction ten years ago. It was wrong then, and it's wrong now.<p>This article makes its case about Htmx, but points out that its argument applies equally to Hotwired (formerly Turbolinks). Both Htmx and Hotwired/Turbolinks use custom HTML attributes with just a little bit of client-side JS to allow client-side requests to replace fragments of a page with HTML generated on the server side.<p>But Turbolinks is more than ten years old. React was born and rose to popularity during the age of Turbolinks. Turbolinks has already lost the war against React.<p>The biggest problem with Turbolinks/Htmx is that there's no good story for what happens when one component in a tree needs to update another component in the tree. (Especially if it's a "second cousin" component, where your parent component's parent component has subcomponents you want to update.)<p>EDIT: I know about multi-swap. <a href="https://htmx.org/extensions/multi-swap/" rel="nofollow">https://htmx.org/extensions/multi-swap/</a> It's not good, because the onus is on the developer to compute which components to swap, <i>on the server side,</i> but the state you need is usually on the client. If you need multi-swap, you'll find it orders of magnitude easier to switch to a framework where the UI is a pure function of client-side state, like React or Svelte.<p>Furthermore, in Turbolinks/Htmx, it's impossible to implement "optimistic UI," where the user creates a TODO item on the client side and posts the data back to the server in the background. This means that the user always has to wait for a server round trip to create a TODO item, hurting the user experience. It's unacceptable on mobile web in particular.<p>When predicting the future, I always look to the State of JS survey <a href="https://2022.stateofjs.com/en-US/libraries/front-end-frameworks/" rel="nofollow">https://2022.stateofjs.com/en-US/libraries/front-end-framewo...</a> which asks participants which frameworks they've heard of, which ones they want to learn, which ones they're using, and, of the framework(s) they're using, whether they would use it again. This breaks down into Awareness, Usage, Interest, and Retention.<p>React is looking great on Usage, and still pretty good on Retention. Solid and Svelte are the upstarts, with low usage but very high interest and retention. Htmx doesn't even hit the charts.<p>The near future is React. The further future might be Svelte or Solid. The future is not Htmx.