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

Function createQuery

packages/svelte-query/src/createQuery.ts:51–56  ·  view source on GitHub ↗
(
  options: StoreOrVal<CreateQueryOptions>,
  queryClient?: QueryClient,
)

Source from the content-addressed store, hash-verified

49): CreateQueryResult<TData, TError>
50
51export function createQuery(
52 options: StoreOrVal<CreateQueryOptions>,
53 queryClient?: QueryClient,
54) {
55 return createBaseQuery(options, QueryObserver, queryClient)
56}

Callers 2

useCustomQueryFunction · 0.50

Calls 1

createBaseQueryFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…