Re:I Switched from Htmx to Datastar
by sudodevnull on Friday October 10, 2025 @11:20AM
(#45540030)
100%. Datastar is just make HTML spec support reactive expression in data-* attributes, that's it. You will become stronger at web cause it just gets out of your way
I don't think the difference would be significant. How many of your HTML elements would become interactive with htmx? There's a limit to how much interaction you can reasonably add on a page. This will also limit the number of new attributes you will introduce in the markup.
Also, by this argument should we leave out the 'href' attribute from the '<a>' tag and let the server decide what page to serve? Of course not, the 'href' attribute is a critical part of the functionality of HTML.
Htmx makes the same argument for the other attributes.
I'm not too strong in frontend, but wouldn't this make for a lighter, faster front end? Especially added up over very many elements?