Hello,
I just installed livewire and started to play with it. I’ve some issue to make wire:poll working:
here are my tests:
index.blade
<div wire:poll.750ms>
@livewire('conference-status')
</div>
The livewire blade:
<div>
{{$random}}
</div>
The livewire php
public function render()
{
$random = random_int(1,1000000000);
return view('livewire.conference-status',compact('random'));
}
But the random number is never refreshed…
I’ve tried other elements to make sure the livewire setup is working and tried the search user (from the code here )
There all is correct and i can see the requests to the server and the answer correctly displayed on the page.
any idea what i’m missing for the wire:poll?
Thanks
Christophe