I didn't explain into detail what's happening with the wire:loading.remove directive with the target of "completeTodo" but that's where the optimistic UI for completing todos comes in. While that method is loading in the round trip to the server, we are removing that todo from the page. It still works fantastic if there are any errors that pop up because it's only removed while "loading."
I believe this is what Caleb revealed as the way he cleared the value (the x-keyup way, but with x-on:submit) The $this->reset() still has to wait for the server to respond. ☺️
Livewire is okay for small projects. When you need to do anything complex, it becomes painful to work with. Rather use Alpine or HTMX or a React. Intertia also looks interesting.
I would argue that this is false nowadays. With Livewire v3, especially, it is more stable and feature complete now more than ever. Especially with things like wire:navigate, teleport, and persist. There's very little you can do with React w/ Inertia that you can do with Livewire. Alpine is perfect (and in this example we are using Alpine for the text display) for client side interactions, and I would say Livewire is the Laravel-optimized version of HTMX. The only reason I would opt for Vue or React w/ Inertia is if I was specifically hiring and I wanted library specific devs. Otherwise, a great solution for reaching for the former would be for a specific library that you're looking to use (Tremor with React is a perfect example). However, even that last point is slowly becoming moot. There is a package called MingleJS for Livewire that allows you to embed React or Vue components in a Livewire project. It helps solve for those times when you do need to reach for something a little "more".
Bruno nailed it on the head (well almost). This is Catppuccin Machiato. With sideBar.background, sideBarSectionHeader.background, and sideBar.border altered. Then a bunch of other APC hacks based on Caleb Porzio's VS Code course. So, not PHPStorm unfortunately. 😅
Hey Josh, clean audio as usual. Can you please do a tutorial on Livewire and wireui. Just a simple appl to get started from scratch, especially the authentication?. Great video tho.
@@abdiabdirizak makes sense! I would say implementing auth without a starter kit is more work than it needs to be. Using a starter kit is 100% a better solution. ☺️
@@joshcirre I should be working on my main domain but the only 2 options that serve my needs are Vue or Livewire and even tho I love Vue, I really want Livewire. It is such an amazing DX, but I can't sell my users "NULL". I'll give the PR a go tomorrow and see if I can still reproduce the bug or not, I'll let you know. Also... when are you streaming again mate 😋