MCPcopy Index your code
hub / github.com/HuolalaTech/react-query-kit / createQuery

Function createQuery

src/createQuery.ts:5–13  ·  view source on GitHub ↗
(
  options: CreateQueryOptions<TFnData, TVariables, TError>
)

Source from the content-addressed store, hash-verified

3import { ReactQuery } from './utils'
4
5export function createQuery<
6 TFnData,
7 TVariables = void,
8 TError = CompatibleError
9>(
10 options: CreateQueryOptions<TFnData, TVariables, TError>
11): QueryHook<TFnData, TVariables, TError> {
12 return createBaseQuery(options, ReactQuery.useQuery)
13}

Callers 3

buildRouterFunction · 0.90
types.typecheck.tsFile · 0.90

Calls 1

createBaseQueryFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…