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

I think it’s time to go back to Unobtrusive JavaScript. What is needed for this are lightweight libraries or practices you can code yourself. HTMX is lightweight which is nice but it’s like script tags. I would rather the urls and methods go in plain HTML and stuff like hx-target be determined by JavaScript, using data- attributes if needed. That way all the unused HTMX features aren’t included.


Shoutout to Facet also[0].

[0]: https://github.com/kgscialdone/facet





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

Search: