Hacker News new | ask | show | jobs
by arethuza 249 days ago
"Alpine or Stimulus features were natively included in htmx"

I'm contemplating using HTMX in a personal project - do you know if there are any resources out there explaining why you might also need other libraries like Alpine or Stimulus?

2 comments

They're for client-side only features. Think toggling CSS classes, updating the index on a slider- you ideally don't want to have to hit the server for that
Thanks - I was having a quick read of the documentation for those projects and that makes perfect sense.
if you use alpine, make sure to get the morph extensions for both htmx and alpine.