Replies: 1 comment
-
not sure if this is easily possible at the moment. Might be best to not refetchOnReconnect if you have paused mutations, as you'll likely refetch after the successful mutation anyways (in onSuccess or onSettled). Worst case, it would refetch (on reconnect), then run mutations, then refetch again ? |
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.
-
I need to support my app users offline. For that I'm using react query with offlineFirst mode. But I need mutations fired when offline to run before my queries on reconnect (I'm using refetchOnReconnect)
What we can made to allow this behaviour?
Beta Was this translation helpful? Give feedback.
All reactions