Let me understand... Client-side JS is bad because etc. etc. Use this solution. It's implemented as a client-side JS library. Duh!
So it's not a game changer, just a less-bloated JS solution?
If you only need to replace a box on click with html from the server, you can do that with iframes, no need for javascript/htmx.
If you only need to replace a box on click with html from the server, you can do that with iframes, no need for javascript/htmx.