Microfrontends POC using Webpack Modules Federation.
Based on advanced-api/dynamic-remotes example.
Install the dependencies
yarn
Run the applications in development mode
yarn dev
The packages
dir contains three applications.
The main application-a responsible for loading others in runtime.
Descriptors for remote micro-applications can be loaded separately
and can serve as a contract interface between applications.
To simplify the example descriptors presented in appDescriptors.js
file
The libs used in the main application (such as react
, react-dom
) shared with other apps,
but every app can use its own lib version if needed.