Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TanStack/query
/ functions
Functions
3,004 in github.com/TanStack/query
⨍
Functions
3,004
◇
Types & classes
871
↓ 1 callers
Function
handleRequest
* @param {FetchEvent} event * @param {string} requestId * @param {number} requestInterceptedAt
examples/vue/offline-tanstack-router/public/mockServiceWorker.js:124
↓ 1 callers
Function
handleRequest
* @param {FetchEvent} event * @param {string} requestId * @param {number} requestInterceptedAt
examples/lit/offline-lit-labs-router/public/mockServiceWorker.js:124
↓ 1 callers
Function
handleRequest
* @param {FetchEvent} event * @param {string} requestId * @param {number} requestInterceptedAt
examples/lit/optimistic-updates/public/mockServiceWorker.js:124
↓ 1 callers
Function
handleRequest
* @param {FetchEvent} event * @param {string} requestId * @param {number} requestInterceptedAt
examples/lit/auto-refetching/public/mockServiceWorker.js:124
↓ 1 callers
Function
handleRequest
* @param {FetchEvent} event * @param {string} requestId * @param {number} requestInterceptedAt
examples/lit/load-more-infinite-scroll-lit-labs-router/public/mockServiceWorker.js:124
↓ 1 callers
Function
handleRequest
* @param {FetchEvent} event * @param {string} requestId * @param {number} requestInterceptedAt
examples/lit/infinite-query-with-max-pages/public/mockServiceWorker.js:124
↓ 1 callers
Function
handler
(index: number)
packages/solid-query/src/useQueries.ts:411
↓ 1 callers
Function
hasArrayChanged
(a: Array<any> = [], b: Array<any> = [])
packages/preact-query/src/__tests__/ErrorBoundary/ErrorBoundary.ts:128
↓ 1 callers
Function
hasCombineProperty
* Checks whether a call passes an object literal with a `combine` property as its first argument. * @param callExpression - The call expression t
packages/eslint-plugin-query/src/rules/no-unstable-deps/no-unstable-deps.rule.ts:117
↓ 1 callers
Function
hasInlineFilterQueryKey
* Checks whether an object literal has a `queryKey` written as an inline array. * @param node - The object literal. * @returns `true` if its `queryK
packages/eslint-plugin-query/src/rules/prefer-query-options/prefer-query-options.rule.ts:215
↓ 1 callers
Function
hasInlineQueryOptions
* Checks whether an object literal defines `queryKey` or `queryFn` inline. * @param node - The object literal. * @returns `true` if it has a `queryK
packages/eslint-plugin-query/src/rules/prefer-query-options/prefer-query-options.rule.ts:201
↓ 1 callers
Function
hasKeyOrFnProperty
()
packages/query-codemods/src/v5/remove-overloads/transformers/filter-aware-usage-transformer.cjs:32
↓ 1 callers
Function
hasKeyProperty
()
packages/query-codemods/src/v5/remove-overloads/transformers/query-fn-aware-usage-transformer.cjs:28
↓ 1 callers
Function
hasNativeBrand
* Checks an object's internal slots with an intrinsic operation. * @param value - The inspected object. * @param type - The native brand to check.
packages/query-devtools/src/nativeObjectType.ts:9
↓ 1 callers
Function
hasNextPage
( options: InfiniteQueryPageParamsOptions<any, any>, data?: InfiniteData<unknown>, )
packages/query-core/src/infiniteQueryBehavior.ts:190
↓ 1 callers
Function
hasObjectPrototype
* Checks whether a value's `Object.prototype.toString` tag is `[object Object]`. * @param o - The value to check. * @returns `true` if the tag is `[
packages/query-core/src/utils.ts:517
↓ 1 callers
Function
hasPackageDependency
(tree: Tree, name: string)
packages/angular-query/schematics/ng-add/index.ts:27
↓ 1 callers
Function
hasPlaceholderDataProperty
(objectExpression)
packages/query-codemods/src/v5/keep-previous-data/keep-previous-data.cjs:69
↓ 1 callers
Function
hasPreviousPage
( options: InfiniteQueryPageParamsOptions<any, any>, data?: InfiniteData<unknown>, )
packages/query-core/src/infiniteQueryBehavior.ts:205
↓ 1 callers
Function
hasProviderCall
(tree: Tree, sourcePath: string)
packages/angular-query/schematics/ng-add/index.ts:57
↓ 1 callers
Function
hasRootQueryProvider
(tree: Tree, projectName: string)
packages/angular-query/schematics/ng-add/index.ts:105
↓ 1 callers
Function
hasSnapshot
(expected: Array<number | undefined>)
packages/angular-query/src/__tests__/inject-queries.test.ts:855
↓ 1 callers
Function
hasUnsupportedReference
(node: ts.Node)
packages/angular-query/schematics/migrate-from-experimental/source.ts:193
↓ 1 callers
Function
highlightedText
()
packages/query-devtools/src/__tests__/Explorer.test.tsx:79
↓ 1 callers
Function
hits
()
examples/solid/algolia/src/SearchResults.tsx:26
↓ 1 callers
Function
homeworldId
()
examples/solid/star-wars-solid-router/src/Character.tsx:23
↓ 1 callers
Function
host
( create: () => Signal<T>, initialize?: (value: Signal<T>) => void, )
packages/angular-query/src/utils/__test__/inject-external-store.test.ts:31
↓ 1 callers
Function
htmlEscapeJsonString
(str: string)
packages/react-query-next-experimental/src/htmlescape.ts:27
↓ 1 callers
Function
incrementSsrQueryControllerCreationCount
( queryClient: QueryClient, )
examples/lit/ssr/src/app.ts:9
↓ 1 callers
Function
injectCustomQueries
( options?: OmitKeyof<CreateQueryOptions<Data>, 'queryKey' | 'queryFn'>, )
packages/angular-query/src/__tests__/inject-queries.test-d.ts:214
↓ 1 callers
Function
insertAtPositions
( baseData: Array<TResult>, subset: Array<TResult>, )
packages/eslint-plugin-query/src/__tests__/test-utils.ts:69
↓ 1 callers
Function
invalidate
()
packages/angular-query/src/utils/inject-external-store.ts:59
↓ 1 callers
Method
invalidateTodos
()
examples/lit/basic/src/main.ts:106
↓ 1 callers
Method
inviteCodeValidation
(code: string)
examples/angular/to-resource-signal-forms/src/app/validation-queries.service.ts:40
↓ 1 callers
Function
isArrayExpression
(node)
packages/query-codemods/src/v4/utils/replacers/key-replacer.cjs:9
↓ 1 callers
Function
isArrayExpressionVariable
(node)
packages/query-codemods/src/v5/remove-overloads/utils/index.cjs:77
↓ 1 callers
Function
isBranded
* Checks whether a function was marked as a lazy value with {@link brand}. * @param fn - The function to check. * @returns `true` if the function is
packages/svelte-query/src/containers.svelte.ts:181
↓ 1 callers
Function
isCacheEventType
* Checks if emitted event is about cache change and not about observers. * Useful for persist, where we only want to trigger save when cache is chang
packages/query-persist-client-core/src/persist.ts:110
↓ 1 callers
Function
isCallExpression
(node)
packages/query-codemods/src/utils/index.cjs:111
↓ 1 callers
Function
isCancelledError
(value: any)
packages/query-core/src/retryer.ts:136
↓ 1 callers
Function
isClassInstantiationOf
(node, selector)
packages/query-codemods/src/utils/index.cjs:156
↓ 1 callers
Function
isErrorLike
* Checks whether a value provides the name and message of an Error. * @param error - The value to inspect. * @returns Whether the value can be used
packages/angular-query/src/query-resource.ts:143
↓ 1 callers
Function
isExpanded
()
packages/query-devtools/src/Explorer.tsx:484
↓ 1 callers
Function
isFunctionCallOf
(node, selector)
packages/query-codemods/src/utils/index.cjs:170
↓ 1 callers
Function
isFunctionDefinition
(functionArgument)
packages/query-codemods/src/v5/remove-overloads/transformers/filter-aware-usage-transformer.cjs:71
↓ 1 callers
Function
isGetQueryCacheIdentifier
(node)
packages/query-codemods/src/utils/transformers/query-cache-transformer.cjs:15
↓ 1 callers
Function
isGetter
* Checks whether an option was passed as a getter function. * @param value - The option value. * @returns `true` if `value` is a function.
packages/vue-query/src/usePrefetchQuery.ts:54
↓ 1 callers
Function
isGetter
* Checks whether an option was passed as a getter function. * @param value - The option value. * @returns `true` if `value` is a function.
packages/vue-query/src/usePrefetchInfiniteQuery.ts:53
↓ 1 callers
Function
isIllegalReturn
* Checks whether a query function's return type resolves to `void` or `undefined`, including in any * member of a union. * @param checker - The Type
packages/eslint-plugin-query/src/rules/no-void-query-fn/no-void-query-fn.rule.ts:83
↓ 1 callers
Function
isIterable
* Checks whether a value is iterable. * @param x - The value to check. * @returns `true` if `x` has a `Symbol.iterator` method.
packages/query-devtools/src/Explorer.tsx:457
↓ 1 callers
Function
isKeepPreviousDataObjectProperty
(objectProperty)
packages/query-codemods/src/v5/keep-previous-data/keep-previous-data.cjs:30
↓ 1 callers
Function
isKnownQueryClient
(node)
packages/query-codemods/src/utils/transformers/query-cache-transformer.cjs:12
↓ 1 callers
Function
isList
(element: HTMLElement)
packages/query-devtools/test-setup.ts:9
↓ 1 callers
Function
isLoading
()
examples/solid/suspense/src/components/Button.tsx:11
↓ 1 callers
Function
isNewExpression
(node)
packages/query-codemods/src/utils/index.cjs:120
↓ 1 callers
Function
isObjectExpression
(node)
packages/query-codemods/src/v5/is-loading/is-loading.cjs:32
↓ 1 callers
Function
isObjectPattern
(node)
packages/query-codemods/src/v5/is-loading/is-loading.cjs:42
↓ 1 callers
Function
isObjectPropertyHasTrueBooleanLiteralValue
(objectProperty)
packages/query-codemods/src/v5/keep-previous-data/keep-previous-data.cjs:41
↓ 1 callers
Function
isPageExpanded
(index: number)
packages/query-devtools/src/Explorer.tsx:581
↓ 1 callers
Function
isPlainObject
* Checks whether a value is a plain object, created with an object literal or * `Object.create(null)`. * @param value - The value to check. * @retu
packages/vue-query/src/utils.ts:148
↓ 1 callers
Function
isQueryResultType
* Checks whether a type is one of the query result types, or a union that contains one. * @param type - The type to check. * @returns `true` if the
packages/eslint-plugin-query/src/rules/no-rest-destructuring/no-rest-destructuring.utils.ts:30
↓ 1 callers
Function
isRelativeLink
(link: string)
scripts/verify-links.ts:14
↓ 1 callers
Function
isServer
()
packages/query-core/src/environmentManager.ts:14
↓ 1 callers
Function
isServerFn
()
packages/query-core/src/environmentManager.ts:8
↓ 1 callers
Function
isStreamInactive
()
packages/query-core/src/streamedQuery.ts:123
↓ 1 callers
Function
isStringLiteral
(node)
packages/query-codemods/src/v4/utils/replacers/key-replacer.cjs:12
↓ 1 callers
Function
isTanstackQueryClient
* Checks whether a node refers to a TanStack Query client, created with `useQueryClient()` or * `new QueryClient()`. * @param node - The node to che
packages/eslint-plugin-query/src/rules/prefer-query-options/prefer-query-options.rule.ts:334
↓ 1 callers
Function
isTargetFunction
* Checks whether a function name is one of the target functions. * @param node - The function name. * @returns `true` if the name is a target fu
packages/eslint-plugin-query/src/utils/create-property-order-rule.ts:34
↓ 1 callers
Function
isTemplateLiteral
(node)
packages/query-codemods/src/v4/utils/replacers/key-replacer.cjs:16
↓ 1 callers
Function
isValidId
()
examples/solid/prefetching-solid-start2/src/routes/character/[id].tsx:9
↓ 1 callers
Function
isValidInitializer
(node)
packages/query-codemods/src/utils/transformers/query-cache-transformer.cjs:18
↓ 1 callers
Function
isVariableDeclarator
(node)
packages/query-codemods/src/v5/is-loading/is-loading.cjs:52
↓ 1 callers
Function
jsxConfig
( entry: Record<string, string>, development: boolean, )
packages/solid-query-devtools/tsdown.config.ts:43
↓ 1 callers
Function
label
()
packages/query-devtools/src/Explorer.tsx:588
↓ 1 callers
Function
legacyConfig
(opts)
packages/eslint-plugin-query/root.tsdown.config.js:34
↓ 1 callers
Function
legacyConfig
(opts)
packages/preact-query-devtools/root.tsdown.config.js:29
↓ 1 callers
Function
legacyConfig
(opts)
packages/lit-query/root.tsdown.config.js:29
↓ 1 callers
Function
legacyConfig
(opts)
packages/vue-query/root.tsdown.config.js:29
↓ 1 callers
Function
legacyConfig
(opts)
packages/react-query-next-experimental/root.tsdown.config.js:29
↓ 1 callers
Function
legacyConfig
(opts)
packages/react-query/root.tsdown.config.js:29
↓ 1 callers
Function
legacyConfig
(opts)
packages/preact-query/root.tsdown.config.js:29
↓ 1 callers
Function
legacyConfig
(opts)
packages/query-persist-client-core/root.tsdown.config.js:29
↓ 1 callers
Function
legacyConfig
(opts)
packages/preact-query-persist-client/root.tsdown.config.js:29
↓ 1 callers
Function
legacyConfig
(opts)
packages/query-sync-storage-persister/root.tsdown.config.js:29
↓ 1 callers
Function
legacyConfig
(opts)
packages/react-query-devtools/root.tsdown.config.js:29
↓ 1 callers
Function
legacyConfig
(opts)
packages/react-query-persist-client/root.tsdown.config.js:29
↓ 1 callers
Function
legacyConfig
(opts)
packages/query-core/root.tsdown.config.js:29
↓ 1 callers
Function
legacyConfig
(opts)
packages/query-broadcast-client-experimental/root.tsdown.config.js:29
↓ 1 callers
Function
legacyConfig
(opts)
packages/query-async-storage-persister/root.tsdown.config.js:29
↓ 1 callers
Function
linkedTypePage
(outputDir: string, typeLine: string)
scripts/generate-docs.ts:285
↓ 1 callers
Function
listener
(e: MediaQueryListEvent)
packages/query-devtools/src/utils.tsx:201
↓ 1 callers
Method
loadItemDetails
(item: Item)
examples/angular/dynamic-queries/src/app/app.component.ts:99
↓ 1 callers
Function
locationId
()
examples/solid/rick-morty-solid-router/src/Character.tsx:23
↓ 1 callers
Function
makeCssRules
(...cssTexts: Array<string>)
packages/query-devtools/src/__tests__/contexts/PiPContext.test.tsx:170
↓ 1 callers
Function
makeQueryClient
()
examples/react/prefetching-nextjs-app-router/app/get-query-client.ts:7
↓ 1 callers
Function
makeQueryClient
()
examples/react/optimistic-updates-nextjs-app-router/app/get-query-client.ts:7
↓ 1 callers
Function
makeQueryClient
()
examples/react/suspense-streaming-nextjs-app-router/src/app/providers.tsx:12
↓ 1 callers
Function
makeState
(fetchStatus: FetchStatus)
packages/query-devtools/src/__tests__/utils.test.ts:1616
↓ 1 callers
Function
matchingSearch
(value: unknown)
packages/query-devtools/src/Devtools.tsx:2560
↓ 1 callers
Function
maybeFailMutation
(res)
examples/lit/pagination/server/index.mjs:146
← previous
next →
1,001–1,100 of 3,004, ranked by callers