Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/TanStack/query
/ getMutationCache
Method
getMutationCache
packages/query-core/src/queryClient.ts:461–463 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
459
}
460
461
getMutationCache(): MutationCache {
462
return
this.#mutationCache
463
}
464
465
getDefaultOptions(): DefaultOptions {
466
return
this.#defaultOptions
Callers
15
useMutationState
Function · 0.80
useMutation.test.ts
File · 0.80
ContentView
Function · 0.80
setupMutationCacheSubscription
Function · 0.80
createSubscribeToMutationCacheBatcher
Function · 0.80
useMutationState
Function · 0.80
useMutation.test.tsx
File · 0.80
injectMutationState
Function · 0.80
injectIsMutating
Function · 0.80
inject-mutation.test.ts
File · 0.80
persistQueryClientSubscribe
Function · 0.80
persist.test.ts
File · 0.80
Calls
no outgoing calls
Tested by
1
executeMutation
Function · 0.64