Module Federation with Webpack 5
Configure a host and remote app with Webpack Module Federation to share components at runtime.
Module Federation Overview
Webpack 5 Module Federation lets you share JavaScript modules between separately bundled applications at runtime — one app exposes components, another consumes them without a build step.
Roles: Host vs Remote
A remote exposes modules. A host consumes modules from one or more remotes. An app can be both host and remote simultaneously.
All lessons in this course
- Micro-Frontend Concepts & Trade-offs
- Module Federation with Webpack 5
- Shared State & Routing Between MFEs
- Independent Deployment & CI Pipelines for MFEs