HTMX
Reddit take
Not enough linked mention summaries yet; the source excerpts below are the evidence.
Pros
- I don't think there's a specific name for it, but it looks like you just invented HTMX
- Treat forms as full-page POSTs by default, then layer htmx/Alpine or your framework on top for live search, conditional fields, etc. If JS dies, users still complete the flow, just with more page loads.
- What is more, the Multi Page Application approach was characterized by less code and fewer dependencies required - overall, it is simply more lightweight. Additionally, tools like HTMX allow MPAs to efficiently handle partial updates, re...
- On HTMX: a very under-sung advantage to using a reactive framework is automatic CSS scoping. With (most) server rendered solutions, you have to leverage something like BEM and/or a utility library to avoid scope collisions.
- Front-end dev has never been better Next.js, Remix, Astro, HTMX, you name it.
Cons
- I love the simplicity of htmx and working with Go on the backend for state. But I've found htmx and working with Go template/templ to get messy very fast.
- The HTMX version seems way more complex to understand and modify.
- HTMX v4 is incorporating some of them (in a larger, less powerful package).
Sentiment
8 positive (73%) · 1 mixed (9%) · 2 negative (18%)
Trust + time weighted score: +54% · raw score 55%
What redditors said (10 of 11)
I don't think there's a specific name for it, but it looks like you just invented HTMX
Treat forms as full-page POSTs by default, then layer htmx/Alpine or your framework on top for live search, conditional fields, etc. If JS dies, users still complete the flow, just with more page loads.
I love the simplicity of htmx and working with Go on the backend for state. But I've found htmx and working with Go template/templ to get messy very fast.
The HTMX version seems way more complex to understand and modify.
HTMX v4 is incorporating some of them (in a larger, less powerful package).
What is more, the Multi Page Application approach was characterized by less code and fewer dependencies required - overall, it is simply more lightweight. Additionally, tools like HTMX allow MPAs to efficiently handle partial updates, reducing one of the traditional advantages of SPAs.
On HTMX: a very under-sung advantage to using a reactive framework is automatic CSS scoping. With (most) server rendered solutions, you have to leverage something like BEM and/or a utility library to avoid scope collisions.
Front-end dev has never been better Next.js, Remix, Astro, HTMX, you name it.
If it's simple, HTMX then AlpineJS for the stuff HTMX can't.
Django and HTMX, it's easy for me to build dynamic apps without focusing much on Javascript
Compare
Related
- React · related · 204 mentions
- Visual Studio Code · related · 168 mentions
- Next.js · related · 151 mentions
- Claude Code · related · 137 mentions
- Astro · related · 88 mentions
- Laravel · related · 82 mentions