Skip to content

Pause RTK Query Polling (React Native background) #5033

Answered by markerikson
ChristianAyala asked this question in Q&A
Discussion options

You must be logged in to vote

Hmm. Don't think we have any kind of way to control all polling as a whole right now, but that seems like a reasonable feature request.

Filed #5034 to track it. Unfortunately we're pretty light on development activity right now - all of us maintainers are mostly busy with real life topics atm, and I don't know if/when we'd be able to get to it. If someone would like to take this on and file a PR, I'd be very happy to work with them to direct the implementation work. This would most likely require some changes to the RTKQ custom middleware that manages the polling.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ChristianAyala
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants