Create a FeatureAppScope which includes validating externals, binding
all available Feature Service dependencies, and calling the create
method
of the FeatureAppDefinition.
The definition of the Feature App to create a scope for.
A FeatureAppScope for the provided Feature App ID and
FeatureAppDefinition. A new scope is created for every call of
createFeatureAppScope
, even with the same ID and definiton.
Load a FeatureAppDefinition using the module loader the FeatureAppManager was initilized with.
A URL pointing to a FeatureAppDefinition bundle in a module format compatible with the module loader.
An AsyncValue containing a promise that resolves with the loaded FeatureAppDefinition. If called again with the same URL it returns the same AsyncValue. The promise rejects when loading fails, or when the loaded bundle doesn't export a FeatureAppDefinition as default.
Preload a FeatureAppDefinition using the module loader the FeatureAppManager was initilized with. Useful before hydration of a server rendered page to avoid render result mismatch between client and server due missing FeatureAppDefinitions.
Generated using TypeDoc
The
FeatureAppManager
manages the lifecycle of Feature Apps.