Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TanStack/query
/ useQuery
Function
useQuery
packages/preact-query/src/useQuery.ts:45–47 ·
view source on GitHub ↗
(options: UseQueryOptions, queryClient?: QueryClient)
Source
from the content-addressed store, hash-verified
43
): UseQueryResult<NoInfer<TData>, TError>
44
45
export
function
useQuery(options: UseQueryOptions, queryClient?: QueryClient) {
46
return
useBaseQuery(options, QueryObserver, queryClient)
47
}
Callers
15
useQuery.test-d.tsx
File · 0.90
useWrappedQuery
Function · 0.90
useWrappedFuncStyleQuery
Function · 0.90
useCustomQuery
Function · 0.90
queryOptions.test-d.tsx
File · 0.90
infiniteQueryOptions.test-d.tsx
File · 0.90
Page
Function · 0.90
Example
Function · 0.90
Page
Function · 0.50
Page
Function · 0.50
Page1
Function · 0.50
Page2
Function · 0.50
Calls
1
useBaseQuery
Function · 0.90
Tested by
15
useWrappedQuery
Function · 0.72
useWrappedFuncStyleQuery
Function · 0.72
useCustomQuery
Function · 0.72
Page
Function · 0.72
Page
Function · 0.40
Page
Function · 0.40
Page1
Function · 0.40
Page2
Function · 0.40
Test
Function · 0.40
Page
Function · 0.40
Query
Function · 0.40
FirstQuery
Function · 0.40