Skip to content

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 ParameterDefault type
P extends ParserInput | undefinedParserInput | undefined
Munknown

Released under the MIT License.