State returned from a server-side query() call

interface StaticHandlerContext {
    _deepestRenderedBoundaryId?: null | string;
    actionData: null | RouteData;
    actionHeaders: Record<string, Headers>;
    basename: undefined | string;
    errors: null | RouteData;
    loaderData: RouteData;
    loaderHeaders: Record<string, Headers>;
    location: Location<any>;
    matches: AgnosticDataRouteMatch[];
    statusCode: number;
}

Properties

_deepestRenderedBoundaryId?: null | string
actionData: null | RouteData
actionHeaders: Record<string, Headers>
basename: undefined | string
errors: null | RouteData
loaderData: RouteData
loaderHeaders: Record<string, Headers>
location: Location<any>
matches: AgnosticDataRouteMatch[]
statusCode: number