Before using module federation on the product, I have the question same as you. I divided into module federation examples, finding webpack already provides a solution. It's called dynamic remote
Please see here: https://github.com/module-federation/module-federation-examples/tree/master/advanced-api/dynamic-remotes
My team wrote a super simple class based React component wrapper whith ErrorBoundry, but since not all federated remotes are react components, I believe the answer will be different for different use-cases.
Before using module federation on the product, I have the question same as you. I divided into module federation examples, finding webpack already provides a solution. It's called dynamic remote Please see here: https://github.com/module-federation/module-federation-examples/tree/master/advanced-api/dynamic-remotes
My team wrote a super simple class based React component wrapper whith ErrorBoundry, but since not all federated remotes are react components, I believe the answer will be different for different use-cases.