Type Alias: RouteStateConfig<P, M>
ts
type RouteStateConfig<P, M> = ReactiveFields<WithParser<RouteStateOptions, P, M>, "key" | "missing">;Defined in: router/use-route-states.ts:29
One entry of useRouteStates, which takes the options of useRouteState. key names the ref that comes back, so it is read once and is the only option that is not reactive.
Type Parameters
| Type Parameter | Default type |
|---|---|
P extends ParserInput | undefined | ParserInput | undefined |
M | unknown |