# Interface ClientFrameworkLib

Allow specific UI framework to be configured

TBD

interface ClientFrameworkLib {
prepareCSR?(csrData, pipeline, reload?): Promise<any>;
renderStart?(): void;
renderToString?(Component): string;
startSubApp?(csrData, pipeline, reload?): Promise<any>;
startSubAppSync?(csrData, pipeline, reload?): void;
}

- Defined in subapp/client-framework-lib.ts:9

#####
Index

### Methods

prepareCSR?
renderStart?
renderToString?
startSubApp?
startSubAppSync?

## Methods

### `Optional` prepareCSR

- prepareCSR(csrData, pipeline, reload?): Promise<any>

- #### Parameters

  - csrData: SubAppCSRData
  - pipeline: ClientRenderPipeline
  - `Optional` reload: boolean

  #### Returns Promise<any>

  - Defined in subapp/client-framework-lib.ts:17

### `Optional` renderStart

- renderStart(): void

- #### Returns void

  - Defined in subapp/client-framework-lib.ts:13

### `Optional` renderToString

- renderToString(Component): string

- #### Parameters

  - Component: unknown

  #### Returns string

  - Defined in subapp/client-framework-lib.ts:15

### `Optional` startSubApp

- startSubApp(csrData, pipeline, reload?): Promise<any>

- #### Parameters

  - csrData: SubAppCSRData
  - pipeline: ClientRenderPipeline
  - `Optional` reload: boolean

  #### Returns Promise<any>

  - Defined in subapp/client-framework-lib.ts:23

### `Optional` startSubAppSync

- startSubAppSync(csrData, pipeline, reload?): void

- #### Parameters

  - csrData: SubAppCSRData
  - pipeline: ClientRenderPipeline
  - `Optional` reload: boolean

  #### Returns void

  - Defined in subapp/client-framework-lib.ts:29