AdaptiveLoadOptions
Home > @gooddata/sdk-ui-loaders > AdaptiveLoadOptions
AdaptiveLoadOptions type
Adaptive loading requires additional options passed by the client.
Signature:
export type AdaptiveLoadOptions = {
moduleFederationIntegration: ModuleFederationIntegration;
};
References: ModuleFederationIntegration
Remarks
The crucial options are the module federation integration functions.
The adaptive loader relies on Webpack's Module Federation to get the job done and expects that it is running in context where Webpack Module Federation is correctly setup; the load requires few functions from webpack in order to work properly. You need to pass them in via these options.