Same with htmx: it's written in JS so that you don't have to write any JS.
https://htmx.org/examples/active-search/
How about infinite scroll?
https://htmx.org/examples/infinite-scroll/
Inline editing of a row in a table?
I've done a couple of small htmx PoCs and it's.... fine? I don't hate what you're doing I just think it's super overhyped and when anything grows in complexity over a year or more it's going to be about the same as any other jQuery spaghetti application we used to build as an industry. Long term maintenance of a htmx app feels like it would be about the same as a KnockoutJS app that leaned heavily into "apps written in attributes" (data-* vs. hx-*, but it's just special syntax you have to memorize either way). KnockoutJS was fine then too, we could build infinite scrollers and inline row edits with it almost 15 years ago.
https://htmx.org/essays/a-real-world-react-to-htmx-port/
Comparisons w/KnockoutJS (and old angular) are pretty superficial: Knockout is a reactive framework whereas htmx is hypermedia-oriented, they scale differently. htmx tends to scale well when UIs are well factored on the server side:
But you can, if you want.