by BiteCode_dev · 2y ago · 0 comments
Since it's neutral to the backend or scripting tech you chose to use, it cannot, and should not, step into that realm.
It provides a more simple, basic service.
You may be tempted provide a django template + view + htmx reusable component.
Or a rail enpoint + htmx reusable component.
But that would not be universal, it would be super specific. Maybe useful in your company, across team, but that's it.
I have enjoyed it for small demos but I wouldn't pitch it to my company to use in the real world based on its philosophy.
I would like be able to install an HTMX component, customize the route, and have some type of lifecycle where I can plug it into the rest of my backend. I know this might seem silly but being able to easily share what you've built has been a cornerstone of every widely successful library or framework.
It may not be a core goal of HTMX, but if not I'd really like to see someone attempt it to at least judge it on its merits instead of assuming it wouldn't be a useful addition.
If I can cargo install an HTMX component that covers all the rendering conditions and I just need to pipe data in and out of it, I'd very much like to try that. I can rig it up in my own codebase but it's not something one would probably publish without a suggested pattern to follow.
Beyond the memes, this one Montana guy is very reasonable.