How to make onSuccess calback run every mount when useQuery refetchOnMount set to false? #3759
-
Hi, I do not want useQuery to refetch on every mount, so I set the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
onSuccess is tied to successful fetches. No fetch - no callback. What are you trying to do in that callback? |
Beta Was this translation helpful? Give feedback.
onSuccess is tied to successful fetches. No fetch - no callback. What are you trying to do in that callback?