TanStackQueryStateAdapterProps
type TanStackQueryStateAdapterProps = object;Defined in: tanstack/adapters/tanstack-router.tsx:65
Properties
Section titled “Properties”children
Section titled “children”children: ReactNode;Defined in: tanstack/adapters/tanstack-router.tsx:66
defaultOptions?
Section titled “defaultOptions?”defaultOptions?: QueryStateOptions;Defined in: tanstack/adapters/tanstack-router.tsx:68
Adapter-level option defaults (below hook/parser/call options).
processUrlSearchParams?
Section titled “processUrlSearchParams?”processUrlSearchParams?: (params) => URLSearchParams | void;Defined in: tanstack/adapters/tanstack-router.tsx:70
Middleware run on the merged params before they are stored/committed.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
params |
URLSearchParams |
Returns
Section titled “Returns”URLSearchParams | void
serializeSearch?
Section titled “serializeSearch?”serializeSearch?: (params) => string;Defined in: tanstack/adapters/tanstack-router.tsx:77
Render the final query string from the merged params. Defaults to standard
URLSearchParams.toString(). Pass keepSubDelims to keep ( ) , : ! '
raw (readable Rison/structured tokens). Must round-trip through
new URLSearchParams(...).
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
params |
URLSearchParams |
Returns
Section titled “Returns”string