• Returns a request handler for Express that serves the response using Remix.

    Parameters

    • __namedParameters: {
          build: ServerBuild | (() => Promise<ServerBuild>);
          getLoadContext?: GetLoadContextFunction;
          mode?: string;
      }
      • build: ServerBuild | (() => Promise<ServerBuild>)
      • OptionalgetLoadContext?: GetLoadContextFunction
      • Optionalmode?: string

    Returns RequestHandler