Type alias Route<T>

Route<T>: {
    params: Params;
    replace?: boolean;
    value: T;
}

A route in the application state.

Type Parameters

  • T extends string = string

    See RouteConfig for details.

Type declaration

  • params: Params

    The path and query parameters.

  • Optional replace?: boolean

    Indicates whether to replace the entry in the browser's history. See ToRoute for more details.

  • value: T

    The route value.

Generated using TypeDoc