Livewire 4
I still wonder how well large projects age!
small components become huge
state spreads across components
events start connecting everything
maybe problem isn’t Livewire 🙄 Maybe it’s how we structure it!
What’s your golden rule for Livewire architecture?
commit db0238a
Use blaze
Do not make nested livewire components.
Use locked properties.
Use less model/collection properties as possible (I recommend not using at all)
Keep Livewire components small and move state and logic into action classes.