Replies: 1 comment
-
you could look into subscribing to individual queries const query = queryCache.getQuery(queryKey)
query.subscribe(queryState => {
if (queryState.status === 'success') {
// do the thing
}
}) |
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.
-
Global onSuccess let's you have the result datas. Any way to also know details about the query that was successful (like it's key, for persistence cache updates) ?
Beta Was this translation helpful? Give feedback.
All reactions