Replies: 2 comments 1 reply
-
you can define what counts as online / offline by setting a different event handler for the |
Beta Was this translation helpful? Give feedback.
0 replies
-
However, this would then affect all queries and mutations at the same time. We would like to block only specific mutations/queries (while the user is using cellular) that would lead to high mobile data consumption. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We're working on a react native app in which we want to organize long running mutations with react query. The users should be able to configure whether to allow the execution only with wifi or also with a cellular internet connection. Is there a way to configure certain mutations not only based on the online/offline state but also the type of connection? If not would it make sense to extend react query with it?
Beta Was this translation helpful? Give feedback.
All reactions