wire:loading.remove
will immediately hide the button until the request is complete. The target is itself. At the same time the span is revealed with the same wire:loading
and wire:target
directives. Once the request is complete, the two elements are swapped back.