Replies: 1 comment 6 replies
-
|
|
Beta Was this translation helpful? Give feedback.
6 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.
-
The issue
queryClient.prefetchdoesn't accept and doesn't triggeronSuccesswhileuseQuery(fetchingObject)does.This is an issue because:
we can then use the same object for the different triggers, such as
useQueryandqueryClient.prefetch.onSuccesscould be very helpful when prefetching.Beta Was this translation helpful? Give feedback.
All reactions