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.
setQueryData
1 parent 24ac9f9 commit 5ebc68aCopy full SHA for 5ebc68a
packages/query-core/src/types.ts
@@ -203,7 +203,7 @@ export interface QueryObserverOptions<
203
*/
204
notifyOnChangeProps?: Array<keyof InfiniteQueryObserverResult> | 'all'
205
/**
206
- * This callback will fire any time the query successfully fetches new data or the cache is updated via `setQueryData`.
+ * This callback will fire any time the query successfully fetches new data.
207
208
onSuccess?: (data: TData) => void
209
0 commit comments