InitProps: {
    devAssetData?: AssetData;
    namespace?: string;
    nonce?: boolean | NonceInfo;
    prodAssetData?: AssetData;
}

SubApp page initialize props

Type declaration

  • Optional devAssetData?: AssetData

    asset loading data use when in dev mode ie: WEBPACK_DEV defined

  • Optional namespace?: string

    namespace to load subapps under for the page

    default "ns0"

  • Optional nonce?: boolean | NonceInfo

    Nonce info for script and style tags.

    By default, renderPage will always generate nonce for your page.

    • You can pass in NonceInfo to customize the token value.
    • If you really don't want nonce generated, then pass false
  • Optional prodAssetData?: AssetData

    asset loading data use when in production mode ie: WEBPACK_DEV not defined