TanStack · Const
skipToken
skipToken is a sentinel value for queryFn. It conditionally disables a query like enabled: false while preserving data type inference, but refetch cannot start the disabled query.
Last updated
Syntax
const skipToken: typeof skipToken;In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
enabledqueryFnQueryObserverskipToken