Get the latest tech news
A Response to "Have Single-Page Apps Ruined the Web?" (2021)
htmx gives you access to AJAX, CSS Transitions, WebSockets and Server Sent Events directly in HTML, using attributes, so you can build modern user interfaces with the simplicity and power of hypertext htmx is small (~14k min.gz’d), dependency-free, extendable, IE11 compatible & has reduced code base sizes by 67% when compared with react
When combined with the hx-push-url attribute, history and the back button works properly with very little effort by the developer, all with nice Copy-and-Pasteable URLs, sometimes referred to as “Deep Links” by people in the SPA community. Many of the “transitional” technologies that Mr. Harris goes on to mention: React Server Components(which he calls “like html over the wire, but vastly more sophisticated), Marko(which is doing “partial hydration”), Quik(which aggressively lazy loads things, apparently), are all remarkable engineering achievements, but are also all, we must say, quite complicated. By returning to The Hypermedia Approach, you can build reasonably sophisticated web applications that address many of Mr. Harris’s concerns regarding MPAs at a fraction of the complexity required by most popular SPA frameworks.
Or read this on Hacker News