Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

EnasAlh's avatar

Dispatch in Livewire 3

I have 2 component in livewire 3, and I want to refresh content after function is finish, I try dispatch('event-name') and it works for some functions but the case that I have is about Move() function which move user from group to another, it refresh the first group (from) but the second group no (to), here is my code:

0 likes
2 replies
Jsanwo64's avatar

You may want to implement the livewire Listener. I think it references what you need.

Please or to participate in this conversation.