Optional
Readonly
externalsOptional
Readonly
loggerA custom logger that shall be used instead of console
.
Optional
Readonly
moduleFor the FeatureAppManager
to be able to load Feature Apps from a remote
location, a module loader must be provided. This can either be one of the
module loaders that are provided by @feature-hub, i.e.
@feature-hub/module-loader-amd
, @feature-hub/module-loader-federation
,
and @feature-hub/module-loader-commonjs
, or a custom loader.
Optional
Readonly
onA function that is called for every Feature App when its dependent Feature Services are bound. This allows the integrator to collect information about Feature Service and Feature App usage.
Generated using TypeDoc
When using a moduleLoader, it might make sense to validate external dependencies that are required by Feature Apps against the shared dependencies that are provided by the integrator. This makes it possible that an error is already thrown when creating a Feature App with incompatible external dependencies, and thus enables early feedback as to whether a Feature App is compatible with the integration environment.