Plumile JS API
    Preparing search index...

    Class FlatRoute<TParams>

    Represents a flattened route with a compiled match function. This is an internal representation used by the router to efficiently match URLs.

    Type Parameters

    • TParams extends ParamData

      Route parameter types extracted from the URL path

    Index

    Constructors

    Properties

    matchFunction: MatchFunction<TParams>

    Compiled function to match URL paths against this route pattern

    path: string

    The URL path pattern for this route

    redirectTo?: string

    Optional redirect destination if this route should redirect

    routes: RouteNode[]

    Nested routes that should be rendered within this route