Skip to content

QueryStateTestingAdapterProps

type QueryStateTestingAdapterProps = object;

Defined in: tanstack/adapters/testing.tsx:14

children: ReactNode;

Defined in: tanstack/adapters/testing.tsx:15


defaultOptions?: QueryStateOptions;

Defined in: tanstack/adapters/testing.tsx:18


onUrlUpdate?: (event) => void;

Defined in: tanstack/adapters/testing.tsx:21

Called whenever a URL commit fires, instead of touching the real URL.

Parameter Type
event UrlUpdateEvent

void


processUrlSearchParams?: (params) => URLSearchParams | void;

Defined in: tanstack/adapters/testing.tsx:19

Parameter Type
params URLSearchParams

URLSearchParams | void


searchParams?: string | URLSearchParams;

Defined in: tanstack/adapters/testing.tsx:17

Initial query string (e.g. "?count=42") or URLSearchParams.