Replies: 1 comment 2 replies
-
I don't quite understand the requirement - can you elaborate a bit? Mutations generally only trigger imperatively, e.g. on a button click... |
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
using useMutation how do we solve a scenario where on calling of useMutation.mutate we can pause the mutation and resume when required. Currently pausing of mutation happens only when the device goes offline .
I have a requirement for my react-native app saving data to the AsyncStorage that I have to persist mutation's offline even if the
device is online and this persisted mutation will upload the data to the server calling the mutationFunction only on user interaction like click of an upload button for that mutation.
How can I achieve this ?
Thanks & Regards,
Francis P.
Beta Was this translation helpful? Give feedback.
All reactions