Htmx Is the Future
It&#x27;s kinda funny to me that many of the &quot;pros&quot; of this approach are the exact reasons so many abandoned MPAs in the first place.<p>For instance, a major selling point of Node was running JS on both the client and server so you can write the code once. It&#x27;s a pretty shitty client experience if you have to do a network request for each and every validation of user input.<p>Also, there was a push to move the shitty code from the server to the client to free up server resources and prevent your servers from ruining the experience for everyone.<p>We moved away for MPAs because they were bloated, slow and difficult to work with. SPAs have definitely become what they sought to replace.<p>But that isn&#x27;t because of the technology, it&#x27;s because all the devs writing shitty MPAs are now writing shitty SPAs. If this becomes popular, they will start writing shitty MPAs again. Nothing about this technology will stop that.