MENU

Fun & Interesting

Optimistic UI but in Laravel Livewire

Josh Cirre 4,583 1 year ago
Video Not Working? Fix It Now

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: https://cir.re/suggest Links: Caleb's Optimistic UI Teaser Video: https://x.com/calebporzio/status/1775520357463584913 Laravel Livewire wire:loading Docs: https://livewire.laravel.com/docs/wire-loading Keep creating. --- 📹 **Watch My VSCode Setup Video:** https://youtu.be/uoqhrFRuRF4 🎓 **Make VSCode Awesome – Caleb Porzio's Course (support me with this link):** https://gumroad.com/a/636621331

Comment