I see this happen too often.
But then, some people know how to fix a car. Others don't even know how to pop the hood. And this sort of thing is likely why.
I see this happen too often.
But then, some people know how to fix a car. Others don't even know how to pop the hood. And this sort of thing is likely why.
It's an attempt to complete HTML as a hypertext and allow more complete, modern UI programming within the hypertext & REST/HATEOAS paradigm.
Yes, it uses javascript to achieve this, but that's what's available.
On the other hand: this introduces constraints that let you solve a class of problems without giving you so much rope that you can get tangled in it.
I'm very wary of adding unnecessary abstractions, but I'm very optimistic for solutions like HTMX. Lately I've been trying to build apps without any front-end JS, and there are pain points that make me want to allow JS sometimes. My hope is that HTMX/etc might solve these pain points without opening up Pandora's box and letting contributors write arbitrary JavaScript for managing the front-end.
I'm less worried about abstractions than I am about dependencies.
Which is why I use the foundational core knowledge to build my own solutions/modules. If I can.
I used the words "If I can" on purpose. So yes, if I could, I would invent my own.
And the peace of mind, and hopeful reliability that can provide, can go a long way in your creative mindset.