4 ms·
Thank you, htmx looks conceptually more like the web should have been. I wanted things like server side includes (SSI) on the frontend, so that we could swap o
by zackmorris 6y ago
Thank you, htmx looks conceptually more like the web should have been.
I wanted things like server side includes (SSI) on the frontend, so that we could swap out portions of pages (with security issues solved obviously). We could have also had subresource integrity (SRI), and included our Javascripts in pieces from anywhere based on their hash, rather than using Webpack. But instead we got the mess that is cross-origin resource sharing (CORS), which became such a frustration that we don't even blink at 10 MB app.js files.
We want a web that is declarative, data-driven and functional wherever possible. Which means that we should be moving away from asynchronous nondeterministic Javascript, not towards it. So ya, the article gets it almost completely backwards.