Type alias RenderOptions

RenderOptions: {
    namespace?: string;
    prepareOnly?: boolean;
    request?: any;
    ssr?: boolean;
}

Options for rendering a page for each request

Type declaration

  • Optional namespace?: string

    namespace to load the subapps

  • Optional prepareOnly?: boolean

    If you only want to prepare data for when ssr is true, set this to true. This will affect all subapps in this render

  • Optional request?: any

    Your HTTP framework's request object. Will be passed into UI components as is through React context.

  • Optional ssr?: boolean

    Turn on/off server side rendering for the entire render, regardless if subapp wants ssr. Setting this flag to true will not make a subapp that sets its own ssr to false do SSR.