MCPcopy Create free account

hub / github.com/TanStack/query / functions

Functions3,004 in github.com/TanStack/query

↓ 2 callersFunctionfunctionalUpdate
( updater: Updater<TInput, TOutput>, input: TInput, )
packages/query-core/src/utils.ts:132
↓ 2 callersFunctionget
()
examples/vue/contacts-vue-router/src/services/contacts/api.ts:81
↓ 2 callersFunctiongetApiClient
()
examples/react/eslint-plugin-demo/src/allowlist-demo.tsx:50
↓ 2 callersFunctiongetClientKey
(key?: string)
packages/vue-query/src/utils.ts:16
↓ 2 callersMethodgetCurrentResult
* Returns the most recently computed array of `QueryObserverResult`s, one * per observed query, in the same order as the queries passed to the *
packages/query-core/src/queriesObserver.ts:219
↓ 2 callersFunctiongetDataSearchText
(data: unknown, deadline = Infinity)
packages/query-devtools/src/Devtools.tsx:122
↓ 2 callersFunctiongetDefaultQueryClient
()
packages/lit-query/src/context.ts:69
↓ 2 callersFunctiongetDefaultState
()
packages/query-core/src/mutation.ts:543
↓ 2 callersFunctiongetDefaultState
* Returns the initial state of a query, based on its `initialData` and `initialDataUpdatedAt` * options. * @param options - The query options. * @r
packages/query-core/src/query.ts:1090
↓ 2 callersFunctiongetDirectQueryHook
* Returns the name of the TanStack Query hook a call expression calls directly. `useQueries` and * `useSuspenseQueries` with `combine` are ignore
packages/eslint-plugin-query/src/rules/no-unstable-deps/no-unstable-deps.rule.ts:140
↓ 2 callersFunctiongetHasError
({ result, errorResetBoundary, throwOnError, query, suspense, }: { result: QueryObserverResult<TDa
packages/react-query/src/errorBoundaryUtils.ts:76
↓ 2 callersFunctiongetHasError
({ result, errorResetBoundary, throwOnError, query, suspense, }: { result: QueryObserverResult<TDa
packages/preact-query/src/errorBoundaryUtils.ts:75
↓ 2 callersFunctiongetIsRestoringContext
()
packages/svelte-query/src/context.ts:53
↓ 2 callersFunctiongetNextPageParam
* Computes the page param of the page after the last one, with the `getNextPageParam` option. * @param options - The infinite query options. * @para
packages/query-core/src/infiniteQueryBehavior.ts:152
↓ 2 callersFunctiongetObserver
()
packages/angular-query/src/inject-base-query.ts:102
↓ 2 callersFunctiongetObserverCountColorStyles
()
packages/query-devtools/src/Devtools.tsx:1650
↓ 2 callersMethodgetQueriesData
( filters: MaybeRefDeep<QueryFilters>, )
packages/vue-query/src/queryClient.ts:162
↓ 2 callersFunctiongetQueryClient
()
examples/react/prefetching-nextjs-app-router/app/get-query-client.ts:27
↓ 2 callersFunctiongetQueryClient
()
examples/react/optimistic-updates-nextjs-app-router/app/get-query-client.ts:24
↓ 2 callersFunctiongetQueryStatusColor
({ queryState, observerCount, isStale, }: { queryState: Query['state'] | undefined observerCount: nu
packages/query-devtools/src/utils.tsx:48
↓ 2 callersFunctiongetQueryStatusColorByLabel
(label: QueryStatusLabel)
packages/query-devtools/src/utils.tsx:97
↓ 2 callersFunctiongetQueryStatusColors
()
packages/query-devtools/src/Devtools.tsx:2107
↓ 2 callersFunctiongetRefetch
(index: number)
packages/angular-query/src/inject-queries.ts:212
↓ 2 callersFunctiongetReturnedQueryHook
* Returns the query hook that a custom hook's body returns: either an expression body that calls * one, or a block with a single `return` of such
packages/eslint-plugin-query/src/rules/no-unstable-deps/no-unstable-deps.rule.ts:189
↓ 2 callersFunctiongetSidedProp
( prop: T, side: DevtoolsPosition, )
packages/query-devtools/src/utils.tsx:33
↓ 2 callersFunctiongetTanstackImportName
* Returns the name an identifier was imported under from TanStack Query. * @param context - The rule context. * @param helpers - The helpers that ch
packages/eslint-plugin-query/src/rules/prefer-query-options/prefer-query-options.rule.ts:370
↓ 2 callersFunctiongetUserData
()
packages/react-query/src/__tests__/useSuspenseQueries.test.tsx:351
↓ 2 callersFunctiongetUserData
()
packages/preact-query/src/__tests__/useSuspenseQueries.test.tsx:295
↓ 2 callersMethodhasObserverResult
(rawResult: Array<QueryObserverResult>)
packages/lit-query/src/createQueriesController.ts:573
↓ 2 callersFunctionhasSearchMatchingChild
()
packages/query-devtools/src/Explorer.tsx:481
↓ 2 callersFunctionhydratableObserverResult
( query: Query<TQueryFnData, TError, TData, TQueryKey>, result: QueryObserverResult<TDataHydratable, TErro
packages/solid-query/src/useBaseQuery.ts:79
↓ 2 callersFunctioninfiniteQueryBehavior
( pages?: number, )
packages/query-core/src/infiniteQueryBehavior.ts:26
↓ 2 callersFunctioninjectBaseQuery
( optionsFn: () => QueryObserverOptions< TQueryFnData, TError, TData, TQueryData, TQuery
packages/angular-query/src/inject-base-query.ts:20
↓ 2 callersMethodinvalidate
* Marks the query as invalidated, unless it is already invalidated. This * updates `state.isInvalidated` and notifies observers, but does not by
packages/query-core/src/query.ts:686
↓ 2 callersMethodisActive
* Returns `true` if the query has at least one observer for which `enabled` * does not resolve to `false`. * @returns `true` if the query has an
packages/query-core/src/query.ts:471
↓ 2 callersFunctionisCustomHookName
* Checks whether a name follows the custom hook naming convention. * @param hookName - The name to check. * @returns `true` if the name star
packages/eslint-plugin-query/src/rules/no-unstable-deps/no-unstable-deps.rule.ts:108
↓ 2 callersFunctionisFunction
* Checks whether a value is a function. * @param value - The value to check. * @returns `true` if `value` is a function.
packages/vue-query/src/utils.ts:162
↓ 2 callersFunctionisGetQueryCacheMethodCall
( initializer, importIdentifiers, knownQueryClientIds, )
packages/query-codemods/src/utils/transformers/query-cache-transformer.cjs:7
↓ 2 callersFunctionisIdentifier
(node)
packages/query-codemods/src/utils/index.cjs:114
↓ 2 callersFunctionisInlineArrayExpression
* Checks whether a node is an array literal, ignoring type assertions. * @param node - The node to check. * @returns `true` if the node is an array
packages/eslint-plugin-query/src/rules/prefer-query-options/prefer-query-options.rule.ts:229
↓ 2 callersFunctionisMemberExpression
(node)
packages/query-codemods/src/utils/index.cjs:117
↓ 2 callersMethodisMutating
* Returns the number of mutations in the cache that are currently pending, optionally * matching a set of filters. * @param filters - Narrows do
packages/query-core/src/queryClient.ts:169
↓ 2 callersMethodisStatic
* Returns `true` if the query has data and at least one observer configured with * `staleTime: 'static'`, meaning it is treated as never stale.
packages/query-core/src/query.ts:508
↓ 2 callersFunctionkeepPreviousData
( previousData: T | undefined, )
packages/query-core/src/utils.ts:582
↓ 2 callersFunctionkeys
()
packages/query-devtools/src/__tests__/Devtools.test.tsx:1720
↓ 2 callersFunctionmakeQueryClient
()
integrations/react/next-15/app/make-query-client.ts:21
↓ 2 callersFunctionmakeQueryClient
()
integrations/react/next-16/app/make-query-client.ts:21
↓ 2 callersFunctionmakeQueryClient
()
examples/preact/ssr-streaming/src/makeQueryClient.ts:3
↓ 2 callersFunctionmakeQueryClient
()
examples/preact/ssr/src/makeQueryClient.ts:3
↓ 2 callersFunctionmatches
(value: unknown, term: string)
packages/query-devtools/src/__tests__/explorerSearch.test.ts:134
↓ 2 callersFunctionmatchesData
(data: unknown, term: string)
packages/query-devtools/src/Devtools.tsx:138
↓ 2 callersFunctionmockOnlineManagerIsOnline
( value: boolean, )
packages/react-query/src/__tests__/utils.tsx:46
↓ 2 callersFunctionmockOnlineManagerIsOnline
( value: boolean, )
packages/preact-query/src/__tests__/utils.tsx:46
↓ 2 callersFunctionmockOnlineManagerIsOnline
( value: boolean, )
packages/solid-query/src/__tests__/utils.tsx:39
↓ 2 callersMethodmountClient
(client: QueryClient)
packages/lit-query/src/QueryClientProvider.ts:158
↓ 2 callersFunctionmutationDateSort
(a, b)
packages/query-devtools/src/utils.tsx:165
↓ 2 callersFunctionnormalizeUrlHost
(host)
examples/lit/ssr/config/ports.js:4
↓ 2 callersFunctionnotify
* Updates every subscription whose `shouldUpdate` accepts the event. * @param cache - The cache to compute the values from. * @param event - The
packages/query-devtools/src/createCacheSubscriptionRegistry.ts:47
↓ 2 callersFunctionnotifyFn
(callback)
packages/query-core/src/notifyManager.ts:29
↓ 2 callersMethodonDisconnected
()
packages/lit-query/src/__tests__/BaseController.test.ts:32
↓ 2 callersFunctiononError
()
packages/query-core/src/__tests__/mutationCache.test.tsx:103
↓ 2 callersFunctiononFocus
()
packages/query-devtools/src/Devtools.tsx:249
↓ 2 callersMethodonFocus
* `onFocus` notifies all subscribed listeners with the current focus state.
packages/query-core/src/focusManager.ts:119
↓ 2 callersFunctiononSuccess
()
packages/query-core/src/__tests__/mutationCache.test.tsx:222
↓ 2 callersFunctionpassthrough
()
examples/react/offline-tanstack-router/public/mockServiceWorker.js:228
↓ 2 callersFunctionpassthrough
()
examples/react/offline-react-router/public/mockServiceWorker.js:228
↓ 2 callersFunctionpassthrough
()
examples/solid/offline-tanstack-router/public/mockServiceWorker.js:228
↓ 2 callersFunctionpassthrough
()
examples/solid/offline-solid-router/public/mockServiceWorker.js:228
↓ 2 callersFunctionpassthrough
()
examples/preact/offline-preact-iso/public/mockServiceWorker.js:228
↓ 2 callersFunctionpassthrough
()
examples/svelte/offline-sveltekit/static/mockServiceWorker.js:228
↓ 2 callersFunctionpassthrough
()
examples/vue/offline-vue-router/public/mockServiceWorker.js:228
↓ 2 callersFunctionpassthrough
()
examples/vue/offline-tanstack-router/public/mockServiceWorker.js:228
↓ 2 callersFunctionpassthrough
()
examples/lit/offline-lit-labs-router/public/mockServiceWorker.js:228
↓ 2 callersFunctionpause
(canResume: () => boolean)
packages/query-core/src/retryer.ts:206
↓ 2 callersFunctionpersistQuery
* Writes a query's state, key, hash, and `buster` to storage. * @param query - The query to persist. * @returns A promise that resolves once the
packages/query-persist-client-core/src/createPersister.ts:283
↓ 2 callersFunctionpredicate
(query)
packages/query-core/src/__tests__/utils.test-d.tsx:56
↓ 2 callersMethodprefetchPage
(targetPage: number)
examples/lit/pagination/src/main.ts:253
↓ 2 callersFunctionpromiseWithResolvers
()
packages/svelte-query/tests/utils.svelte.ts:14
↓ 2 callersFunctionproperCase
(str: string)
examples/solid/ssr-astro/src/utils/index.ts:15
↓ 2 callersFunctionpropertiesPage
(outputDir: string, from: string)
scripts/generate-docs.ts:670
↓ 2 callersFunctionproperty
(node: ts.Expression | undefined, name: string)
packages/angular-query/schematics/migrate-from-experimental/source.ts:349
↓ 2 callersFunctionreadJsonOrThrow
( response: Response, fallbackMessage: string, )
examples/lit/pagination/src/services/projects/api.ts:37
↓ 2 callersMethodreadResolvedOptions
(client = this.queryClient)
packages/lit-query/src/createQueriesController.ts:509
↓ 2 callersFunctionreconcile
(oldData, newData)
packages/solid-query/src/__tests__/useQuery.test.tsx:4073
↓ 2 callersMethodrender
()
packages/angular-query/schematics/migrate-from-experimental/imports.ts:88
↓ 2 callersFunctionrenderDevtools
( overrides: Partial<QueryDevtoolsProps> = {}, initialStorage: Record<string, string> = {}, onStat
packages/query-devtools/src/__tests__/Devtools.test.tsx:117
↓ 2 callersFunctionrenderExplorer
( props: Parameters<typeof SearchableExplorer>[0], options: { theme?: 'dark' | 'light' sea
packages/query-devtools/src/__tests__/Explorer.test.tsx:33
↓ 2 callersFunctionreplaceDist
* Replaces 'dist/' or './dist/' prefix from a file path with './' * Only matches at the start of the path to avoid false matches * @param {string} f
packages/angular-query-devtools/scripts/prepack.js:40
↓ 2 callersFunctionreplaceDist
* Replaces 'dist/' or './dist/' prefix from a file path with './' * Only matches at the start of the path to avoid false matches * @param {string} f
packages/angular-query/scripts/prepack.js:47
↓ 2 callersFunctionresolveConnectHost
(host)
examples/lit/ssr/config/ports.js:34
↓ 2 callersFunctionresolvePromise
()
packages/query-core/src/__tests__/hydration.test.tsx:769
↓ 2 callersFunctionresolveQueriesOptions
* Reads the controller's options and defaults each query with the client. * @param optionsAccessor - The options, or a getter that returns them. * @
packages/lit-query/src/createQueriesController.ts:299
↓ 2 callersFunctionsave
()
packages/query-persist-client-core/src/persist.ts:193
↓ 2 callersFunctionschedule
(callback: NotifyCallback)
packages/query-core/src/notifyManager.ts:37
↓ 2 callersFunctionsearchExplorer
(rootValue: unknown, term: string)
packages/query-devtools/src/explorerSearch.ts:153
↓ 2 callersFunctionserializeRequest
* @param {Request} request
examples/react/offline-tanstack-router/public/mockServiceWorker.js:345
↓ 2 callersFunctionserializeRequest
* @param {Request} request
examples/react/offline-react-router/public/mockServiceWorker.js:345
↓ 2 callersFunctionserializeRequest
* @param {Request} request
examples/solid/offline-tanstack-router/public/mockServiceWorker.js:345
↓ 2 callersFunctionserializeRequest
* @param {Request} request
examples/solid/offline-solid-router/public/mockServiceWorker.js:345
↓ 2 callersFunctionserializeRequest
* @param {Request} request
examples/preact/optimistic-updates/public/mockServiceWorker.js:345
← previousnext →501–600 of 3,004, ranked by callers