Replies: 2 comments
-
On the same note, what is the best place, post a successful mutation, to await the |
Beta Was this translation helpful? Give feedback.
0 replies
-
@olup Did you ever manage to find a way to achieve this? |
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.
-
Returning queryCache.invalidateQueries to the onSuccess mutation call back, I was hoping that the isLoading value exported by the hook would stay true until the onSuccess call back promise has landed ( like in v1 with status and refetchQueries). But it does not seem to be the case. The mutation itself resolves properly after the call back, but isLoading - if i am not mistaken - does not seem to. Is there another way I should do this ?
Beta Was this translation helpful? Give feedback.
All reactions