Maybe 10 lines of code.
Then you can go as simple or as complex as you want without having to awkwardly rig it up to another UI system.
Maybe 10 lines of code.
Then you can go as simple or as complex as you want without having to awkwardly rig it up to another UI system.
And then suddenly you need to be aware of the quirks: https://htmx.org/quirks/
And then you need your backend to handle all the weird new headers: https://htmx.org/reference/#request_headers
And then you need to learn completely non-HTML things like "attribute inheritance" https://htmx.org/docs/#inheritance
And then you need to learn a whole new DSL https://htmx.org/docs/#trigger-modifiers
HTMX probably has more concepts than react at this point in time.
I do think it is a bit overengineered however, though there are other implementations of the idea.
What you call "monstrosity" is just as trivial and rare.
See how this works?
You claimed that HTMX doesn't require learning new paradigms. When it's actually a new paradigm replete with multiple different requirements, custom DSLs, new behaviors etc.
Htmx is an order of magnitude easier to get started with for a person who already knows html, ask me how I know.