Show banner to user when the mutation paused start to sync
Hello, I'm trying to do a feature where I made a mutation offline... We are using persistQueryClient.
And when I go back online, the mutation start to sync... but still take some time to sync all mutations.
I'm trying to show the user a message saying, "App is syncing".
I try to use the
And when I go back online, the mutation start to sync... but still take some time to sync all mutations.
I'm trying to show the user a message saying, "App is syncing".
I try to use the
useIsMutating, that work very well, but this is true also when I make normal mutations when I'm online.