Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Why do you prefer datastar vs htmx? Afaik htmx tends to allow progressive enhancement without JS, while datastar requires JS to work.


Htmx IS JavaScript...

Datastar does everything htmx does and much more. And, iirc, is also smaller. Just explore their site, docs, essays etc


Oh okay. While Htmx-the-lib is JS, the standard practice is to make the site progressively enhanced by Htmx such that it still works without JS and improves accessibility for screen readers. While this could be possible with Datastar, I've read that it's generally more work to enable progressive enhancement, but maybe that's not a goal.


Again, datastar does everything htmx does out of the box, and far more.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: