Skip to content

Type Alias: UseRouteStateOptions<P, M> ​

ts
type UseRouteStateOptions<P, M> = ReactiveOptions<WithParser<RouteStateOptions, P, M>, "missing">;

Defined in: router/use-route-state.ts:25

The options of useRouteState. The object and every option in it accept a value, a ref, a computed or a getter, except parser, which takes everything but a getter.

Type Parameters ​

Type ParameterDefault type
P extends ParserInput | undefinedParserInput | undefined
Munknown

Released under the MIT License.