## I don't get HTMX I keep seeing people tout [htmx](https://htmx.org/) like it's the future of web development and I just don't get it. The argument is that you don't need JavaScript and instead you can sort of program some things directly in HTML tags. And I do mean just sort of. The main example is this: ```html <!-- have a button POST a click via AJAX --> <button hx-post="/clicked" hx-swap="outerHTML"> Click Me </button> ``` So you add this form like attribute which means it will submit a POST request to `/clicked` endpoint when you click the button. The difference between this and a regular `<form>` tag is that this will do it AJAX style (ie: it won't reload the entire page) then replace the element defined in `hx-swap`. Ok, neat I guess. But...

Thingster
Your public and private notebook
© 2025 – infinity and beyond
Links