Comment by superkuh
3 days ago
> Htmx is more like a simplified way to do SPA-like things.
Okay. Then we agree. "Htmx is power tools for using Javascript to alter HTML".
With the implicit premise of starting from javascript you see that as "Power Tools for HTML". Without this premise I see it as "Power Tools for Javascript".
I think this distinction is not only important because I question the premise, but because many people who've talked to me about Htmx are confused about what Htmx is and believe that it works without javascript. This is not Htmx's fault, of course, but it could be made clearer by avoiding easily misinterpreted headlines like this.
> many people who've talked to me about Htmx are confused about what Htmx is and believe that it works without javascript
The htmx landing page's first paragraph says 'htmx gives you access to AJAX...'
AJAX stands for 'Asynchronous JavaScript And XML'.
Close below that, it has a 'quick start' section that shows how to install it, using a `<script>` tag.
For people who think it works without JavaScript, I am afraid they are facing deeper issues than htmx's tagline.
The htmx landing page says,
>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
I hope you see how the full context can make it sound like it's HTML based and not javascript based, even if, yes, AJAX and WebSockets are JS things.