interface DataStrategyMatch {
    params: Params<string>;
    pathname: string;
    pathnameBase: string;
    resolve: ((handlerOverride?: ((handler: ((ctx?: unknown) => DataFunctionReturnValue)) => DataFunctionReturnValue)) => Promise<DataStrategyResult>);
    route: AgnosticDataRouteObject;
    shouldLoad: boolean;
}

Hierarchy

  • AgnosticRouteMatch<string, AgnosticDataRouteObject>
    • DataStrategyMatch

Properties

params: Params<string>

The names and values of dynamic parameters in the URL.

pathname: string

The portion of the URL pathname that was matched.

pathnameBase: string

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

resolve: ((handlerOverride?: ((handler: ((ctx?: unknown) => DataFunctionReturnValue)) => DataFunctionReturnValue)) => Promise<DataStrategyResult>)
route: AgnosticDataRouteObject

The route object that was used to match.

shouldLoad: boolean