Sanity Library Reference Docs
    Preparing search index...

    Interface RouterNode

    interface RouterNode {
        __unsafe_disableScopedSearchParams?: boolean;
        children: RouteChildren;
        route: Route;
        scope?: string;
        transform?: { [key: string]: RouteTransform<RouterState> };
    }

    Hierarchy (View Summary)

    Index

    Properties

    __unsafe_disableScopedSearchParams?: boolean

    Optionally disable scoping of search params Scoped search params will be represented as scope[param]=value in the url Disabling this will still scope search params based on any parent scope unless the parent scope also has disabled search params scoping Caution: enabling this can cause conflicts with multiple plugins defining search params with the same name

    children: RouteChildren

    The child nodes of this node. See RouteChildren

    route: Route

    The route information for this node. See Route

    scope?: string

    An optional scope for this node.

    transform?: { [key: string]: RouteTransform<RouterState> }

    An optional object containing transforms to apply to this node. See RouteTransform and RouterState