Re:Building a Single-Page App with Htmx
by mslip1 on Monday October 07, 2024 @01:10PM
(#41768251)
So I’m building something with HTMX - combining it with alpine has been pretty nice for interactivity managed by client side state
[ Parent
| on HN ]
i havent tried the combination - perhaps this is the thing ive been missing. any recommended intro/resource for alpine + htmx that we can browse?
Google for AHA stack. (Astro, HTMX, Alpine) There was a great site by Flavio Copes that went into a lot of detail on using them together but it looks like it’s gone.
Re:Building a Single-Page App with Htmx
by flaviocopes on Monday October 07, 2024 @01:51PM
(#41768820)
Dropped it a couple days ago to revisit it as a blog post, good timing I guess. Restored https://ahastack.dev/
Re:Building a Single-Page App with Htmx
by martinbaun on Monday October 07, 2024 @02:38PM
(#41769409)
It's pretty good combo. I use Alpinejs for the client side interactivty such as modals, but then use htmx for as much as I can that interacts with the backend.
You could be using only htmx or only alpine but the combo is really nice