Class RemoteApp

An application that loads remotely as a micro frontend application.

All behavior and plugin points are defined using haystack defs.

Hierarchy

  • RemoteApp

Implements

Constructors

Properties

_symbol: symbol = SYMBOL

Used by the isRemoteApp type guard check.

app: HDict
messages?: string[]

The messages the application is listening for.

store?: AppStore

Returns

An instance of a new store for the application.

views: Record<string, RemoteAppView> = {}

Returns

the app views associated with this application. Each application view has a unique key that's combined with the application id to form a unique key. For example, if the application id is finUi.myApp and id is myView then the computed id is finUi.myApp.myView. Any localized name for the view will be computed from the overall id for view with a name postfix. Therefore the name for this view would be looked up as finUi.myApp.myView.name.

Accessors

  • get id(): string
  • Returns

    a unique identifier for an application. This id must be unique as it's used in loading and maintaining the state of an application.

    Returns string

Methods

  • Parameters

    • namespace: HNamespace

    Returns void

  • Asynchronously ensure the store is loaded if one is available.

    Returns Promise<void>

Generated using TypeDoc