I've used HTMX in a lot of applications but i always end up using web components or a javascript as the app grows.
The fact that's relatively lightweight makes me feel okay using it though. If you'd like a similar lightweight library you can try alpinejs.
Adds reactive stores with just a javascript link.