long poll for prefetching #5762
Unanswered
andrewnaeve
asked this question in
General
Replies: 1 comment 2 replies
-
I don't think that's what prefetching is about. If you get a response from prefetching that indicates that you should check the server again, that response is put into the cache for react-query. As soon as you call
this will work no matter how |
Beta Was this translation helpful? Give feedback.
2 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.
-
For a normal query, to long poll I set the
refetchInterval
. However, this option is not available for prefetching. If I receive a response from my prefetch that indicates I want to check the server again, how do I do that?Beta Was this translation helpful? Give feedback.
All reactions