We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 020bb92 commit 1aaca28Copy full SHA for 1aaca28
src/core/types.ts
@@ -165,7 +165,7 @@ export interface QueryObserverOptions<
165
*/
166
notifyOnChangePropsExclusions?: Array<keyof InfiniteQueryObserverResult>
167
/**
168
- * This callback will fire any time the query successfully fetches new data.
+ * This callback will fire any time the query successfully fetches new data or the cache is updated via `setQueryData`.
169
170
onSuccess?: (data: TData) => void
171
0 commit comments