Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TanStack/query
/ getDefaultOptions
Method
getDefaultOptions
packages/query-core/src/queryClient.ts:541–543 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
539
}
540
541
getDefaultOptions(): DefaultOptions {
542
return
this.#defaultOptions
543
}
544
545
setDefaultOptions(options: DefaultOptions): void {
546
this.#defaultOptions = options
Callers
4
vueQueryPlugin.test.ts
File · 0.80
dehydrate
Function · 0.80
hydrate
Function · 0.80
queryClient.test.tsx
File · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected