A StaticHandler instance manages a singular SSR navigation/fetch event

interface StaticHandler {
    dataRoutes: AgnosticDataRouteObject[];
    query(request: Request, opts?: {
        dataStrategy?: DataStrategyFunction;
        requestContext?: unknown;
        skipLoaderErrorBubbling?: boolean;
    }): Promise<Response | StaticHandlerContext>;
    queryRoute(request: Request, opts?: {
        dataStrategy?: DataStrategyFunction;
        requestContext?: unknown;
        routeId?: string;
    }): Promise<any>;
}

Properties

Methods

Properties

dataRoutes: AgnosticDataRouteObject[]

Methods