Polling
#12963
Replies: 1 comment
-
You could use useFetcher + an interval to keep polling a route loader. You could also use Server-Sent Events (SSE) to get new updates from the server instead of polling, in remix-utils there's a helper for SSE (it's called remix but latest version works with RRv7) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is there leverage in RR to more easily achieve polling? Either with literal fetch polling or sockets?
https://livewire.laravel.com/docs/wire-poll
I realise this may relate more to React + platform, but I've been looking more an more at Laravel and it's admittedly sweet how many things are solved out of the box - so maybe atleast the docs could recommended preferred methods in RR?
Beta Was this translation helpful? Give feedback.
All reactions