@resistdesign/voltra
    Preparing search index...

    Type Alias RouteContextType

    Access values for the current Route.

    parentPath is the consumer-facing route pattern for the currently matched parent route chain, expressed as plain slash-delimited segments such as app/books/:id.

    parentPathInternal carries the same logical route pattern in the JSON-serialized segment format used by the shared routing internals. Most consumers should prefer parentPath.

    type RouteContextType = {
        adapter?: RouteAdapter;
        adapterBasePath: string;
        currentWindowPath: string;
        isTopLevel: boolean;
        params: Record<string, any>;
        parentPath: string;
        parentPathInternal: string;
    }
    Index

    Properties

    adapter?: RouteAdapter

    Adapter driving route updates.

    adapterBasePath: string

    Absolute matched path used as the base for relative navigation at this route level.

    currentWindowPath: string

    Current window pathname (top-level) or inherited path (nested).

    isTopLevel: boolean

    Whether this route is the top-level router.

    params: Record<string, any>

    Aggregated route params from parent and current routes.

    parentPath: string

    Consumer-facing parent route pattern for this route level.

    Example: app/books/:id

    parentPathInternal: string

    Internal parent route pattern used by routing utilities and matcher logic.

    Example: "app"/"books"/":id"