Not so sure if I understand your question correctly.
htmx could be regarded as a fancy wrapper around doing AJAX calls, but it brings a lot of convenience also around how the returned HTML is swapped back into the current page.
Maybe you can elaborate your question a bit more?
It's a pleasure to see superheros taking such an interest in science. And this tiny ad: