Htmx 4.0
- Programming
- Web Development
- Developer Tools
- AI
- Open Source
The release post for htmx 4.0 introduced the next major version of the HTML-first library for adding dynamic behavior to server-rendered pages. The biggest change people focused on was a breaking shift in attribute inheritance, which now moves toward explicit behavior by default. The post also added hx-live, Alpine compatibility helpers, migration notes, and “skills” files aimed at LLM-assisted development. A few commenters caught broken copy, busted anchors, and an accidentally borrowed release image, all of which were quickly fixed in public. That reinforced the project’s appeal for fans: opinionated, informal, and visibly maintained rather than polished into corporate blandness.
If you are building a mostly server-rendered product, htmx now looks even more viable as a default path, especially for small teams leaning on AI-assisted coding. If you are building a true client-side app with rich local state, treat htmx as the wrong tool and avoid forcing it into SPA-shaped work.
-
four.htmx.org
- Discuss on HN