It's nice to not have to show loading spinners when you know what a user EXPECTS to happen. So, how do we do something like that in Laravel Livewire? And how do we do it without touching JavaScript? 👀 Spoiler: It's wire:loading 00:00 Optimistic UI? 01:43 What you expect 04:29 Diving into the code 06:38 The wire:loading solution 09:22 Does it break? 11:32 Caleb's challenge Help me choose my next video: Links: Caleb's Optimistic UI Teaser Video: Laravel Livewire wire:loading Docs:
Hide player controls
Hide resume playing