TanStack
Query
v5
v5
Libraries
Framework
Start
RC
Docs
Router
Docs
Data & State Management
Query
Docs
DB
beta
Docs
Store
alpha
Docs
AI
beta
Docs
UI & UX
Table
Docs
Form
new
Docs
Hotkeys
alpha
Docs
Performance
Virtual
Docs
Pacer
beta
Docs
Tooling
Devtools
alpha
Docs
Config
Docs
CLI
alpha
Docs
Intent
alpha
Docs
Learn
Resources
Blog
Release notes, architecture notes, and essays.
YouTube
The official TanStack channel.
Community
Channels
Discord
Community support and real-time discussion.
GitHub
Source, issues, discussions, and releases.
People & Work
Maintainers
Meet the people maintaining the stack.
Contributors
Core, library, and community contributors.
Showcase
Products and teams building with TanStack.
Tools
Tools
Builder
Alpha
Generate TanStack app starters.
Stats
NPM and ecosystem usage data.
Merch
Recent Products
All Merch
Browse all TanStack apparel, accessories, and stickers.
Support
Support
Support Overview
Find the right support path.
Partners
Companies supporting TanStack.
OSS Sponsors
Sponsors keeping TanStack open source.
Enterprise Support
Private consulting and expert support.
Contact
Get in touch with the TanStack team.
About
Ethos
How we think about open source and products.
Tenets
The values that shape TanStack libraries.
Brand Guide
Logos, colors, and brand usage.
Search
AI
Ask AI
Log In
Log In
Libraries
All Libraries
Browse the full set of public packages.
Framework
Start
RC
Docs
Router
Docs
Data & State Management
Query
Docs
DB
beta
Docs
Store
alpha
Docs
AI
beta
Docs
UI & UX
Table
Docs
Form
new
Docs
Hotkeys
alpha
Docs
Performance
Virtual
Docs
Pacer
beta
Docs
Tooling
Devtools
alpha
Docs
Config
Docs
CLI
alpha
Docs
Intent
alpha
Docs
Learn
Resources
Blog
Release notes, architecture notes, and essays.
YouTube
The official TanStack channel.
Professional Workshops
Community
Channels
Discord
Community support and real-time discussion.
GitHub
Source, issues, discussions, and releases.
People & Work
Maintainers
Meet the people maintaining the stack.
Contributors
Core, library, and community contributors.
Showcase
Products and teams building with TanStack.
Tools
Tools
Builder
Alpha
Generate TanStack app starters.
Stats
NPM and ecosystem usage data.
Merch
Recent Products
All Merch
Browse all TanStack apparel, accessories, and stickers.
Support
Support
Support Overview
Find the right support path.
Partners
Companies supporting TanStack.
OSS Sponsors
Sponsors keeping TanStack open source.
Enterprise Support
Private consulting and expert support.
Contact
Get in touch with the TanStack team.
About
Ethos
How we think about open source and products.
Tenets
The values that shape TanStack libraries.
Brand Guide
Logos, colors, and brand usage.
Partnership Inquiry
Docs
Lit
v5
Search...
K
API Reference
Lit Reference
Classes / CancelledError
Classes / InfiniteQueryObserver
Classes / Mutation
Classes / MutationCache
Classes / MutationObserver
Classes / QueriesObserver
Classes / Query
Classes / QueryCache
Classes / QueryClient
Classes / QueryClientProvider
Classes / QueryObserver
Functions / createInfiniteQueryController
Functions / createMutationController
Functions / createQueriesController
Functions / createQueryController
Functions / defaultShouldDehydrateMutation
Functions / defaultShouldDehydrateQuery
Functions / dehydrate
Functions / dehydrateQuery
Functions / experimental_streamedQuery
Functions / hashKey
Functions / hydrate
Functions / infiniteQueryOptions
Functions / isCancelledError
Functions / keepPreviousData
Functions / matchMutation
Functions / matchQuery
Functions / mutationOptions
Functions / noop
Functions / partialMatchKey
Functions / queryOptions
Functions / replaceEqualDeep
Functions / shouldThrowError
Functions / useIsFetching
Functions / useIsMutating
Functions / useMutationState
Functions / useQueryClient
Context / queryClientContext
Context / getDefaultQueryClient
Context / registerDefaultQueryClient
Context / unregisterDefaultQueryClient
Context / resolveQueryClient
Interfaces / CancelOptions
Interfaces / DefaultOptions
Interfaces / DehydrateOptions
Interfaces / DehydratedState
Interfaces / EnsureQueryDataOptions
Interfaces / FetchNextPageOptions
Interfaces / FetchPreviousPageOptions
Interfaces / FetchQueryOptions
Interfaces / FocusManager
Interfaces / HydrateOptions
Interfaces / InfiniteData
Interfaces / InfiniteQueryObserverBaseResult
Interfaces / InfiniteQueryObserverLoadingErrorResult
Interfaces / InfiniteQueryObserverLoadingResult
Interfaces / InfiniteQueryObserverOptions
Interfaces / InfiniteQueryObserverPendingResult
Interfaces / InfiniteQueryObserverPlaceholderResult
Interfaces / InfiniteQueryObserverRefetchErrorResult
Interfaces / InfiniteQueryObserverSuccessResult
Interfaces / InfiniteQueryPageParamsOptions
Interfaces / InitialPageParam
Interfaces / InvalidateOptions
Interfaces / InvalidateQueryFilters
Interfaces / MutateOptions
Interfaces / MutationCacheConfig
Interfaces / MutationFilters
Interfaces / MutationObserverBaseResult
Interfaces / MutationObserverErrorResult
Interfaces / MutationObserverIdleResult
Interfaces / MutationObserverLoadingResult
Interfaces / MutationObserverOptions
Interfaces / MutationObserverSuccessResult
Interfaces / MutationOptions
Interfaces / MutationState
Interfaces / NotifyEvent
Interfaces / OnlineManager
Interfaces / QueriesObserverOptions
Interfaces / QueryCacheConfig
Interfaces / QueryClientConfig
Interfaces / QueryExecuteOptions
Interfaces / QueryFilters
Interfaces / QueryObserverBaseResult
Interfaces / QueryObserverLoadingErrorResult
Interfaces / QueryObserverLoadingResult
Interfaces / QueryObserverOptions
Interfaces / QueryObserverPendingResult
Interfaces / QueryObserverPlaceholderResult
Interfaces / QueryObserverRefetchErrorResult
Interfaces / QueryObserverSuccessResult
Interfaces / QueryOptions
Interfaces / QueryState
Interfaces / RefetchOptions
Interfaces / RefetchQueryFilters
Interfaces / Register
Interfaces / ResetOptions
Interfaces / ResultOptions
Interfaces / SetDataOptions
Interfaces / TimeoutManager
Types / Accessor
Types / AnyDataTag
Types / CreateInfiniteQueryOptions
Types / CreateMutationOptions
Types / CreateQueriesControllerOptions
Types / CreateQueriesInput
Types / CreateQueryOptions
Types / DataTag
Types / DefaultError
Types / DefaultedInfiniteQueryObserverOptions
Types / DefaultedQueryObserverOptions
Types / DefinedInfiniteQueryObserverResult
Types / DefinedInitialDataOptions
Types / DefinedQueryObserverResult
Types / DistributiveOmit
Types / EnsureInfiniteQueryDataOptions
Types / FetchInfiniteQueryOptions
Types / FetchStatus
Types / GetNextPageParamFunction
Types / GetPreviousPageParamFunction
Types / InferDataFromTag
Types / InferErrorFromTag
Types / InfiniteQueryControllerOptions
Types / InfiniteQueryExecuteOptions
Types / InfiniteQueryObserverResult
Types / InfiniteQueryResultAccessor
Types / InitialDataFunction
Types / IsFetchingAccessor
Types / IsMutatingAccessor
Types / ManagedTimerId
Types / MutateFunction
Types / MutateFunctionRest
Types / MutationCacheNotifyEvent
Types / MutationControllerOptions
Types / MutationControllerResult
Types / MutationFunction
Types / MutationFunctionContext
Types / MutationKey
Types / MutationMeta
Types / MutationObserverResult
Types / MutationResultAccessor
Types / MutationScope
Types / MutationStateAccessor
Types / MutationStateOptions
Types / MutationStatus
Types / NetworkMode
Types / NonUndefinedGuard
Types / NotifyEventType
Types / NotifyOnChangeProps
Types / OmitKeyof
Types / Override
Types / PlaceholderDataFunction
Types / QueriesControllerOptions
Types / QueriesPlaceholderDataFunction
Types / QueriesResultAccessor
Types / QueryBooleanOption
Types / QueryCacheNotifyEvent
Types / QueryControllerOptions
Types / QueryControllerResult
Types / QueryFunction
Types / QueryFunctionContext
Types / QueryKey
Types / QueryKeyHashFunction
Types / QueryKeyWithDataTag
Types / QueryMeta
Types / QueryObserverResult
Types / QueryPersister
Types / QueryResultAccessor
Types / QueryStatus
Types / SkipToken
Types / StaleTime
Types / StaleTimeFunction
Types / ThrowOnError
Types / TimeoutCallback
Types / TimeoutProvider
Types / UndefinedInitialDataOptions
Types / UnsetMarker
Types / UnusedSkipTokenOptions
Types / Updater
Types / ValueAccessor
Types / WithRequired
Types / dataTagErrorSymbol
Types / dataTagSymbol
Variables / dataTagErrorSymbol
Variables / dataTagSymbol
Variables / defaultScheduler
Variables / environmentManager
Variables / focusManager
Variables / isServer
Variables / notifyManager
Variables / onlineManager
Variables / skipToken
Variables / timeoutManager
Variables / unsetMarker
Menu
Menu
Home
Get Started
Guides
API
Examples
Lit
v5
API Reference
Lit Reference
Classes / CancelledError
Classes / InfiniteQueryObserver
Classes / Mutation
Classes / MutationCache
Classes / MutationObserver
Classes / QueriesObserver
Classes / Query
Classes / QueryCache
Classes / QueryClient
Classes / QueryClientProvider
Classes / QueryObserver
Functions / createInfiniteQueryController
Functions / createMutationController
Functions / createQueriesController
Functions / createQueryController
Functions / defaultShouldDehydrateMutation
Functions / defaultShouldDehydrateQuery
Functions / dehydrate
Functions / dehydrateQuery
Functions / experimental_streamedQuery
Functions / hashKey
Functions / hydrate
Functions / infiniteQueryOptions
Functions / isCancelledError
Functions / keepPreviousData
Functions / matchMutation
Functions / matchQuery
Functions / mutationOptions
Functions / noop
Functions / partialMatchKey
Functions / queryOptions
Functions / replaceEqualDeep
Functions / shouldThrowError
Functions / useIsFetching
Functions / useIsMutating
Functions / useMutationState
Functions / useQueryClient
Context / queryClientContext
Context / getDefaultQueryClient
Context / registerDefaultQueryClient
Context / unregisterDefaultQueryClient
Context / resolveQueryClient
Interfaces / CancelOptions
Interfaces / DefaultOptions
Interfaces / DehydrateOptions
Interfaces / DehydratedState
Interfaces / EnsureQueryDataOptions
Interfaces / FetchNextPageOptions
Interfaces / FetchPreviousPageOptions
Interfaces / FetchQueryOptions
Interfaces / FocusManager
Interfaces / HydrateOptions
Interfaces / InfiniteData
Interfaces / InfiniteQueryObserverBaseResult
Interfaces / InfiniteQueryObserverLoadingErrorResult
Interfaces / InfiniteQueryObserverLoadingResult
Interfaces / InfiniteQueryObserverOptions
Interfaces / InfiniteQueryObserverPendingResult
Interfaces / InfiniteQueryObserverPlaceholderResult
Interfaces / InfiniteQueryObserverRefetchErrorResult
Interfaces / InfiniteQueryObserverSuccessResult
Interfaces / InfiniteQueryPageParamsOptions
Interfaces / InitialPageParam
Interfaces / InvalidateOptions
Interfaces / InvalidateQueryFilters
Interfaces / MutateOptions
Interfaces / MutationCacheConfig
Interfaces / MutationFilters
Interfaces / MutationObserverBaseResult
Interfaces / MutationObserverErrorResult
Interfaces / MutationObserverIdleResult
Interfaces / MutationObserverLoadingResult
Interfaces / MutationObserverOptions
Interfaces / MutationObserverSuccessResult
Interfaces / MutationOptions
Interfaces / MutationState
Interfaces / NotifyEvent
Interfaces / OnlineManager
Interfaces / QueriesObserverOptions
Interfaces / QueryCacheConfig
Interfaces / QueryClientConfig
Interfaces / QueryExecuteOptions
Interfaces / QueryFilters
Interfaces / QueryObserverBaseResult
Interfaces / QueryObserverLoadingErrorResult
Interfaces / QueryObserverLoadingResult
Interfaces / QueryObserverOptions
Interfaces / QueryObserverPendingResult
Interfaces / QueryObserverPlaceholderResult
Interfaces / QueryObserverRefetchErrorResult
Interfaces / QueryObserverSuccessResult
Interfaces / QueryOptions
Interfaces / QueryState
Interfaces / RefetchOptions
Interfaces / RefetchQueryFilters
Interfaces / Register
Interfaces / ResetOptions
Interfaces / ResultOptions
Interfaces / SetDataOptions
Interfaces / TimeoutManager
Types / Accessor
Types / AnyDataTag
Types / CreateInfiniteQueryOptions
Types / CreateMutationOptions
Types / CreateQueriesControllerOptions
Types / CreateQueriesInput
Types / CreateQueryOptions
Types / DataTag
Types / DefaultError
Types / DefaultedInfiniteQueryObserverOptions
Types / DefaultedQueryObserverOptions
Types / DefinedInfiniteQueryObserverResult
Types / DefinedInitialDataOptions
Types / DefinedQueryObserverResult
Types / DistributiveOmit
Types / EnsureInfiniteQueryDataOptions
Types / FetchInfiniteQueryOptions
Types / FetchStatus
Types / GetNextPageParamFunction
Types / GetPreviousPageParamFunction
Types / InferDataFromTag
Types / InferErrorFromTag
Types / InfiniteQueryControllerOptions
Types / InfiniteQueryExecuteOptions
Types / InfiniteQueryObserverResult
Types / InfiniteQueryResultAccessor
Types / InitialDataFunction
Types / IsFetchingAccessor
Types / IsMutatingAccessor
Types / ManagedTimerId
Types / MutateFunction
Types / MutateFunctionRest
Types / MutationCacheNotifyEvent
Types / MutationControllerOptions
Types / MutationControllerResult
Types / MutationFunction
Types / MutationFunctionContext
Types / MutationKey
Types / MutationMeta
Types / MutationObserverResult
Types / MutationResultAccessor
Types / MutationScope
Types / MutationStateAccessor
Types / MutationStateOptions
Types / MutationStatus
Types / NetworkMode
Types / NonUndefinedGuard
Types / NotifyEventType
Types / NotifyOnChangeProps
Types / OmitKeyof
Types / Override
Types / PlaceholderDataFunction
Types / QueriesControllerOptions
Types / QueriesPlaceholderDataFunction
Types / QueriesResultAccessor
Types / QueryBooleanOption
Types / QueryCacheNotifyEvent
Types / QueryControllerOptions
Types / QueryControllerResult
Types / QueryFunction
Types / QueryFunctionContext
Types / QueryKey
Types / QueryKeyHashFunction
Types / QueryKeyWithDataTag
Types / QueryMeta
Types / QueryObserverResult
Types / QueryPersister
Types / QueryResultAccessor
Types / QueryStatus
Types / SkipToken
Types / StaleTime
Types / StaleTimeFunction
Types / ThrowOnError
Types / TimeoutCallback
Types / TimeoutProvider
Types / UndefinedInitialDataOptions
Types / UnsetMarker
Types / UnusedSkipTokenOptions
Types / Updater
Types / ValueAccessor
Types / WithRequired
Types / dataTagErrorSymbol
Types / dataTagSymbol
Variables / dataTagErrorSymbol
Variables / dataTagSymbol
Variables / defaultScheduler
Variables / environmentManager
Variables / focusManager
Variables / isServer
Variables / notifyManager
Variables / onlineManager
Variables / skipToken
Variables / timeoutManager
Variables / unsetMarker
AI/LLM: This documentation page is available in plain markdown format at/query/v5/docs/framework/lit/reference/interfaces/Register.md
API Reference
Register
Copy page
Defined in:
packages/query-core/src/types.ts:37
Edit on GitHub
Previous
Interfaces / RefetchQueryFilters
Next
Interfaces / ResetOptions
Blog
@Tan_Stack on X.com
@TannerLinsley on X.com
GitHub
YouTube
Nozzle.io - Keyword Rank Tracker
Ethos
Tenets
Privacy Policy
Terms of Service
© 2026 TanStack LLC
Partners
Become a Partner
Gold
Silver
Bronze
Latest Posts