I have 3 components A, B, C, I have to pass a parameter from component A to C and put another parameter from B to C. How to get these values in component C?
A $this->emit(‘client’, [‘client’ => $person->id]);
B $this->emit(‘provider’, [‘provider’ => $person->id]);
How to get the 2 values in component C ?
C protected $listeners = [[‘client’],[‘provider’]] --> It does not work
Thank you for your help…
Livewire version: 2.3