MCPcopy Create free account
hub / github.com/TanStack/query / useQuery

Function useQuery

packages/react-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
45export function useQuery(options: UseQueryOptions, queryClient?: QueryClient) {
46 return useBaseQuery(options, QueryObserver, queryClient)
47}

Callers 15

Example1Function · 0.90
Example1Function · 0.90
WithObjectPatternFunction · 0.90
WithIdentifierFunction · 0.90
useSomethingElseFunction · 0.90
useAnotherThingFunction · 0.90
WithCombinationsFunction · 0.90
WithObjectPatternFunction · 0.90

Calls 1

useBaseQueryFunction · 0.90

Tested by 15

useWrappedQueryFunction · 0.72
useWrappedFuncStyleQueryFunction · 0.72
useCustomQueryFunction · 0.72
TestFunction · 0.72
PageFunction · 0.72
PageFunction · 0.40
PageFunction · 0.40
Page1Function · 0.40
Page2Function · 0.40
TestFunction · 0.40
PageFunction · 0.40
QueryFunction · 0.40