How would u trigger a button (red / green) if something is changed on an api? Reverb? Livewire poll des to much headlift. A job who runs every second?
Back
•
Well, as always it depends. How often does the data change? How immediatly do you (really) need to show the changed state? If it is ok if there is some lag (like 30s) you could also poll in slower intervals.
•
In response to @Wulfheart
Yes I tried slower intervals, but client like to have like realtime.
The data changes not often. But if its changes it should be immediately.