MCPcopy
hub / github.com/TanStack/query / useQuery

Function useQuery

packages/react-query/src/useQuery.ts:50–52  ·  view source on GitHub ↗
(options: UseQueryOptions, queryClient?: QueryClient)

Source from the content-addressed store, hash-verified

48): UseQueryResult<NoInfer<TData>, TError>
49
50export function useQuery(options: UseQueryOptions, queryClient?: QueryClient) {
51 return useBaseQuery(options, QueryObserver, queryClient)
52}

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
PageFunction · 0.72
PageFunction · 0.40
PageFunction · 0.40
Page1Function · 0.40
Page2Function · 0.40
TestFunction · 0.40
PageFunction · 0.40
QueryFunction · 0.40
FirstQueryFunction · 0.40

Used in the wild real call sites across dependent graphs

searching dependent graphs…