Livewire 4 introduces single-file components by default, better project structure with dedicated directories, and lightning bolt file extensions. Key improvements include PHP 8.4 property hooks integration, slots and refs support, and smarter loading states. Performance enhancements feature non-blocking polling, the Blaze compiler for 20x faster Blade rendering, and Islands for independent component rendering. The update addresses the fragmentation of three different component creation methods by introducing a unified fourth approach that becomes the new standard.

4m read timeFrom blog.laravel.com
Post cover image
Table of contents
Livewire 4: Unifying the ExperienceLivewire’s Performance BoostThe Philosophy Behind ItYour Story Belongs Here

Sort: