Interface ParcelLifecycleFnPropsSystem<RegProps>

Type Parameters

  • RegProps = unknown

Hierarchy

Properties

mountParcel: MountParcel

Each application is provided a mountParcel function. The main advantage to using an applications mountParcel function is that parcels mounted via an applications mountParcel will be automatically unmounted when the application is unmounted.

name: string

Unique application ID, if same app will be rendered twice on a page - it will get different IDs

parcelSdk: ParcelSdk<RegProps>
unmountSelf: (() => Promise<null>)

Type declaration

    • (): Promise<null>
    • Allows Parcel to unmount itself

      Returns Promise<null>

Generated using TypeDoc