Module Federation Basics
Understand how module federation enables micro-frontend sharing.
What is Module Federation?
Module Federation lets a JavaScript application load and execute code from another independently deployed application at runtime. Originating in Webpack 5, the pattern is now also possible via native import maps and dynamic import.
The Use Case
Large organizations split monoliths into multiple "micro-frontends" deployed independently — a shell host plus several feature applications. Module federation lets the shell load each feature on demand without bundling them together at build time.
All lessons in this course
- ES Module Scripts type=module
- Import Maps importmap
- Dynamic Import() in Modules
- Module Federation Basics