News for hackers. Stuff that matters.
Re:I Switched from Htmx to Datastar by arethuza on Friday October 10, 2025 @09:37AM (#45538860)
"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?

Re:I Switched from Htmx to Datastar by AstroBen on Friday October 10, 2025 @09:44AM (#45538961)
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
Re:I Switched from Htmx to Datastar by arethuza on Friday October 10, 2025 @09:51AM (#45539055)
Thanks - I was having a quick read of the documentation for those projects and that makes perfect sense.
Re:I Switched from Htmx to Datastar by scragz on Friday October 10, 2025 @03:02PM (#45542526)
if you use alpine, make sure to get the morph extensions for both htmx and alpine.