HTMX Is So Cool I Rolled My Own (2024)

21 points by FedericoSchonborn


yawaramin

Minor nitpick but I’m not keen on the hx-* prefixed HTML attributes where data-* should be used

Htmx supports data- prefix and has for a long time.

Users should not be clicking <div> elements.

For best results use htmx hx-boost on anchor and form tags. They automatically enhance these tags in the correct way, so you avoid clickable divs.

it demonstrates how little JavaScript is actually needed in the browser

This project is going to need minimal maintenance and likely zero security patches for the foreseeable future. Congrats.

symgryph

Does HTMX beat the hell out of your server though? Since you're rendering everything? Kind of like the old CGI problem we used to have

dpc_pw

For similar reasons I'm actually using alpine-ajax which is very much like htmx.

symgryph

Does HTMX beat the hell out of your server though? Since you're rendering everything? Kind of like the old CGI problem we used to have