Skip to content

Parser

Defined in: tanstack/core/parser.ts:26

Server / framework-free entrypoint. No React, safe to import in loaders, server functions, and validateSearch.

Type Parameter
T
Property Modifier Type Defined in
defaultValue readonly undefined tanstack/core/parser.ts:29
eq public Eq<T> tanstack/core/parser.ts:33
hasDefault readonly false tanstack/core/parser.ts:28
kind readonly "single" tanstack/core/parser.ts:27
options readonly | QueryStateOptions | undefined tanstack/core/parser.ts:30
parse public (value) => T | null tanstack/core/parser.ts:31
serialize public (value) => string tanstack/core/parser.ts:32
withDefault public (defaultValue) => ParserWithDefault<T> tanstack/core/parser.ts:34
withOptions public (options) => Parser<T> tanstack/core/parser.ts:35