Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TanStack/query
/ resolveQueryClient
Function
resolveQueryClient
packages/lit-query/src/context.ts:118–120 ·
view source on GitHub ↗
(explicit?: QueryClient)
Source
from the content-addressed store, hash-verified
116
* client.
117
*/
118
export
function
resolveQueryClient(explicit?: QueryClient): QueryClient {
119
return
explicit ?? useQueryClient()
120
}
Callers
1
context-provider.test.ts
File · 0.85
Calls
1
useQueryClient
Function · 0.70
Tested by
no test coverage detected