htmx
htmx.org
htmx
1–10 of 291 posts
Re: htmx
#2how many times has this been posted here?
Re: htmx
#3Can HTMX be used with static site generators, such as Hugo, to create interactive documentation websites?
Re: htmx
#4how many times has this been posted here?
Re: htmx
#5Heh, the "Memes" section of their Essays page is brilliant: https://htmx.org/essays/#memes
Re: htmx
#6I continue to be impressed at the effort people will put into avoiding writing any JavaScript. Is it really easier to learn yet another DSL embedded in attribute tags rather than taking a day to setup your JS dev environment and then writing idiomatic code for running inside a web browser? Surely your htmx project will eventually cross a complexity threshold where you've added enough scaffolding that you may as well have setup a JS bundler in the first place, and yet the debugging, testing and deploying challenges will continue to push you into less-trodden territory.
I believe there might be a sweet spot for small projects unlikely to grow in complexity, maintained by a Python dev who is allergic to JS. But I don't see why you would want to invite yet another abstraction into the web stack, when it's built on top of the very language you're trying to avoid, and which you'll inevitably encounter in all its automagically obfuscated glory as soon as you run into a moderately complex problem.
Re: htmx
#7Can HTMX be used with static site generators, such as Hugo, to create interactive documentation websites?
Technically feasible? Absolutely. You can already create interactive documentation just with client side JS in your Hugo generated site. And HTMX is just a client-side JS system for building that sort of JS-required interactivity in HTML alone without directly touching JavaScript. That said, I don't think the tooling to make this simple to get started with in Hugo is there yet. Though you could certainly build it.
Re: htmx
#8For those with flexibility or a new project, also consider Phoenix LiveView. It’s been a joy to work with so far.
Re: htmx
#9Heh, the "Memes" section of their Essays page is brilliant: https://htmx.org/essays/#memes
And lots more if you follow him on Twitter.
Re: htmx
#10How does htmx compare with alpinejs (https://alpinejs.dev/)?