Skip to content

Type Alias: RouteStateSource ​

ts
type RouteStateSource = "params" | "query";

Defined in: router/types.ts:11

Which part of the route a state reads, the query string or the dynamic segments of the matched route.

Released under the MIT License.