Hiding a button after click
Livewire can handle loading states in the browser to provide responsive feedback
<button wire:loading.remove wire:target="send" wire:click="send" class="px-4 mt-2">Send Message</button>
<span wire:loading wire:target="send" class="inline-block px-4 my-3 font-bold text-red-700">Sending</span>Last updated