Comments & Discussion
DN
Hopefully there's a better way to do the confirmation in Livewire. As said at the beginning of the tutorial, Livewire helps devs write zero JS. But now, we're just written a line of JS. Yes, it's only minor. But still :)
Just encase you need to copy/paste
onclick=" return confirm('Are you sure?') || event.stopImmediatePropagation ()"