DataStrategyMatch
react-router

DataStrategyMatch interface

Properties

params

Type: Params<string>

The names and values of dynamic parameters in the URL.

pathname

Type: string

The portion of the URL pathname that was matched.

pathnameBase

Type: string

The portion of the URL pathname that was matched before child routes.

resolve

Type: { }

route

Type: AgnosticDataRouteObject

The route object that was used to match.

shouldLoad

Type: boolean

Docs and examples CC 4.0