Interface ReactRouterMiddlewareOptions

interface ReactRouterMiddlewareOptions {
    build: ServerBuild;
    mode?: "development" | "production";
    getLoadContext(
        c: Context<any, any, {}>,
    ): AppLoadContext | Promise<AppLoadContext>;
}

Properties

Methods

Properties

build: ServerBuild
mode?: "development" | "production"

Methods

  • Parameters

    • c: Context<any, any, {}>

    Returns AppLoadContext | Promise<AppLoadContext>