-
All microfrontends have access to our exported utilities, but certain microfrontend types can also receive customProps specific to their usage in the app. The following is a list of our current microfrontend offerings and the props you can expect each to receive:
|
Mfe Type |
Props |
UI Insertion Point |
|---|---|---|
|
Attribute view widget |
TypeScript
StateObservable comes from React-RxJs |
These mfes can be inserted from the Settings page, within the Plugins tab. |
|
Attribute edit widget |
TypeScript
StateObservable comes from React-RxJs |
These mfes can be inserted from the Settings page, within the Plugins tab. |
|
Dashboard |
No customProps are passed to dashboard microfrontends at this time |
These mfes can be inserted from the Dashboards page, within the modal that pops up when you create a new dashboard. Select the “Plugin” type. |
|
Asset tab |
TypeScript
|
These mfes can be inserted from the Asset Type page, within the modal that pops up when you create or edit an asset type. Go to the “Tab settings”. |
|
Full Page |
No customProps are passed to full page microfrontends at this time |
These mfes can be inserted from the Settings page, within the Main menu tab. Add a custom page to the General or Admin menu, and choose the “Plugin” destination type. |
|
AI Components |
TypeScript
|
|
Observable State
-
Suppose the mfe type you are building receives an observable prop, and you are building your mfe using React. In that case, we recommend leveraging the
useStateObservablehook and<Subscribe>from React-RxJs to easily access the observable's value.
For mfe applications, see https://github.com/ClearBlade/ia-microfrontends