Replies: 2 comments 2 replies
-
according to the docs, it should return a |
Beta Was this translation helpful? Give feedback.
2 replies
-
I've just tried out I think you could achieve the same result by invalidating the query |
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.
-
Hey all,
Looking for guidance. I am confused as to why the
refetch
function from useQuery returns an empty promise. I would expect that data from the query would be returned here.My use case is to reset a form's state on submit. Something like this.
How are you all doing this? I am I thinking about this wrong?
I can't think of reason to not return the data from refetch?
Help is appreciated, thanks.
Beta Was this translation helpful? Give feedback.
All reactions