Manfred Steyer

Micro-Frontends with Module Federation: Beyond the Basics

Can you integrate a React app inside an Angular app? Discover the 'Frankenstein architecture' and other advanced patterns for building real-world micro-frontends.

Micro-Frontends with Module Federation: Beyond the Basics
#1about 5 minutes

The role of micro-frontends in scaling development teams

Micro-frontends enable scaling by splitting large applications into smaller parts managed by autonomous teams, with module federation providing the necessary runtime integration.

#2about 8 minutes

The basics of configuring module federation

Module federation uses a host and remote model, where the host application uses dynamic imports to load exposed files from separately deployed remote applications.

#3about 7 minutes

Strategies for managing library version mismatches

Module federation handles version mismatches by default by selecting the highest compatible version, but can be configured with singletons or strict version checks for more control.

#4about 8 minutes

Loading micro-frontends with dynamic federation

Dynamic federation allows loading micro-frontends without upfront configuration by using a helper function and the Webpack runtime API to dynamically construct routes.

#5about 6 minutes

Comparing mono-repos and multiple repos for micro-frontends

Choosing between multiple repositories for strict decoupling or a mono-repository for easier code sharing involves trade-offs in dependency management and version control.

#6about 7 minutes

Building a multi-framework Frankenstein architecture

It is possible to integrate applications built with different frameworks like React or Vue by using a wrapper component to bootstrap them inside a host application.

#7about 2 minutes

Key takeaways for advanced module federation usage

A summary of advanced module federation techniques including version mismatch strategies, dynamic loading, repository structures, and multi-framework integration.

Related jobs
Jobs that call for the skills explored in this talk.

test

Milly
Vienna, Austria

Intermediate

test

Milly
Vienna, Austria

Intermediate

Featured Partners

Related Articles

View all articles
CH
Chris Heilmann
All the videos of Halfstack London 2024!
Last month was Halfstack London, a conference about the web, JavaScript and half a dozen other things. We were there to deliver a talk, but also to record all the sessions and we're happy to share them with you. It took a bit as we had to wait for th...
All the videos of Halfstack London 2024!
BB
Benedikt Bischof
Why You Shouldn’t Build a Microservice Architecture
Welcome to this issue of the WeAreDevelopers Live Talk series. This article recaps an interesting talk by Michael Eisenbart who talks about the pros and cons of microservice architecture.‍About the speaker:‍Michael has been working for Bosch as a sof...
Why You Shouldn’t Build a Microservice Architecture

From learning to earning

Jobs that call for the skills explored in this talk.

Frontend-Entwickler

Frontend-Entwickler

infomax websolutions GmbH
Grassau, Germany

Intermediate
Senior
CSS
HTML
JavaScript
TypeScript