JavaScript Congress Nov 24, 2021

Micro-Frontends with Module Federation: Beyond the Basics

Manfred Steyer

Scaling micro-frontends often introduces complex dependency and routing nightmares. Master Webpack 5 Module Federation to dynamically assemble remote modules, prevent version clashes, and orchestrate multi-framework legacy migrations.

Pause
Mute Enter Fullscreen
#1 about 5 min

Overcoming team scaling challenges with module federation

Splitting large applications into decentralized micro frontends improves team agility while maintaining a unified customer experience.

#2 about 7 min

Configuring webpack module federation for hosts and remotes

Using exposed files and dynamic imports seamlessly integrates separate applications at runtime without complex framework workarounds.

#3 about 3 min

Demonstrating runtime integration and shared library loading

Inspecting browser network traffic reveals how micro frontends lazy load remote bundles while sharing common framework dependencies.

#4 about 7 min

Resolving dependency version mismatches in micro frontends

Built-in webpack strategies like semantic version checking and strict singletons prevent conflicting library variations within shared host environments.

#5 about 9 min

Implementing dynamic federation for unknown runtime remotes

Utilizing helper functions and the webpack runtime API allows shell applications to dynamically discover and mount unknown endpoints.

#6 about 7 min

Evaluating monorepo and polyrepo architectures for micro frontends

Engineering teams must choose between the strict boundary isolates of multiple repositories and simplified dependency management of unified monorepos.

#7 about 7 min

Integrating multiple framework versions via wrapper components

Bootstrapping diverse single-page applications inside a unified shell requires dynamic DOM mounting and specialized router synchronization protocols.

#8 about 3 min

Summarizing module federation patterns and architectural choices

Advanced frontend setups leverage dynamic loading and framework agnosticism while demanding careful repository and dependency governance.

Matching moments

6:44 min

Micro frontends and Webpack module federation challenges

Manfred Steyer Manfred Steyer · WWC 2024

9:16 min

Implementing micro frontends with webpack module federation

Manfred Steyer Manfred Steyer · WWC 2021

13:09 min

Answering questions on micro-frontend adoption and tooling

Luca Mezzalira Luca Mezzalira · JS Congress

3:39 min

Enabling framework-agnostic modularity with Webpack module federation

Serg Hospodarets · LIVE

5:14 min

Delivering remote modules with Webpack Module Federation

Trishul Goel · JS Congress

3:07 min

Combining micro frontends and the modular monolith pattern

Florian Rappl · WWC 2022

Upcoming sessions on this topic

Open session

World Congress 2026 North America

One Repo, One Strategy: Scalable Full-Stack Testing in a Monorepo World

Bartosz Leczycki, Paweł Matynia

Bartosz Leczycki
Paweł Matynia
Open session

World Congress 2026 North America

MicroAgents: The Microservices of the Agentic Era

Ashish Shubham

Runs the show bussiness at ThoughtSpot

Ashish Shubham
Open session

World Congress 2026 North America

Merging at Scale: From Broken Builds to Green Mainline

Manjari Akella, Preetam Dwivedi

Manjari Akella
Preetam Dwivedi
Open session

World Congress 2026 North America

Full Stack with Flutter - are we there yet?

Nemanja Stošić

Senior Flutter Developer

Nemanja Stošić
Open session

World Congress 2026 North America

It’s Alive! Taming the MLOps Franken-Stack: Write, Run, and Serve with Michelangelo

Paul Zimmerman, Eric Wang

Paul Zimmerman
Eric Wang
Open session

World Congress 2026 North America

From Cloud Native to Multi-Cloud Native: Write Once, Deploy Anywhere

Sandeep Pal

Principal Member of Technical Staff at Salesforce

Sandeep Pal