These examples are trivial and/or rare, especially in comparison to the monstrosity of a SPA framework. I picked up htmx in an hour or two.
I do think it is a bit overengineered however, though there are other implementations of the idea.
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.