Spoiler: it doesn’t really matter anymore as long as you’re using a modern version of PHP
PHP
wire:key and the Row That Kept the Wrong Data
Steven Richardson explains why missing or unstable wire:key values can leave Livewire lists showing the wrong Alpine state or stale nested component data after a row is deleted or reordered. He shows how to use Read more…