Skip to content

LIBRARY_DEFAULTS

const LIBRARY_DEFAULTS: ResolvedOptions;

Defined in: tanstack/core/options.ts:60

The bottom option layer, used when no call, parser, hook or adapter sets a value. Matches nuqs. Read-only reference: changing it at runtime is not a supported way to configure the library (use the adapter’s defaultOptions).

import { LIBRARY_DEFAULTS } from "@xtandard/lib/tanstack";
LIBRARY_DEFAULTS;
// → { history: "replace", shallow: true, scroll: false, clearOnDefault: true,
// clearOnInvalid: true, limitUrlUpdates: { method: "throttle", timeMs: 50 } }