Replies: 1 comment 3 replies
-
I don't understand that use-case and the example. Can you try to be more specific please? What's a "refetch case" ? |
Beta Was this translation helpful? Give feedback.
3 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.
-
Hey, guys. I'm in the process of migration to v5 (from v4) and I'm wondering how to properly replace
onSuccess
callback for query that only used for refetch case (enabled: false
and triggered by callingrefetch
). Could you provide me a guidance on how to properly achieve that? Because we can't useisSuccess
,isError
orstatus
asstatus
is always insuccess
state when refetching. So, I can't do something like that:Thanks in advance
Beta Was this translation helpful? Give feedback.
All reactions