effex-monorepo
    Preparing search index...

    Interface RouteDataService

    Data provided to a route's render function by the platform.

    • data — result of the route's Route.get() loader (or undefined if none)
    • loaderPath — URL to refetch the loader data (appends ?_data=1 to the route path)
    • actions — map of handler key → URL path for POST/PUT/DELETE endpoints
    interface RouteDataService {
        actions: Readonly<Record<string, string>>;
        data: unknown;
        loaderPath: string;
    }
    Index

    Properties

    actions: Readonly<Record<string, string>>
    data: unknown
    loaderPath: string