Lucas Braeschke & Stefan Bley
The Dependency Cookbook - Recipes for Micro Frontend success
#1about 3 minutes
The challenge of dependencies in regulated micro frontends
A complex healthcare application's move to micro frontends highlights the business risk of dependency conflicts, where technical upgrades can force feature deactivation.
#2about 2 minutes
Four key reasons for sharing dependencies in micro frontends
Sharing dependencies improves performance by reducing bundle sizes, ensures UI consistency, prevents runtime errors from incompatible libraries, and simplifies security patching.
#3about 2 minutes
Categorizing dependencies from easy to very hard
Dependencies can be classified as easy (small, stateless), tricky (large, global state), or very hard (singletons like PDF.js that cannot coexist in multiple versions).
#4about 2 minutes
Defining core use cases for dependency management
A robust solution must support using multiple dependency versions, sharing large libraries like Angular, and unifying versions to apply critical security fixes efficiently.
#5about 3 minutes
Using native browser import maps for dependencies
Import maps offer a native, library-free way to manage dependencies by mapping specifiers to URLs, enabling lazy loading but currently limited to a single map per page.
#6about 4 minutes
Managing dependencies with Webpack's Module Federation
Module Federation provides a bundler plugin to share dependencies, negotiate compatible versions at runtime, and allow micro frontends to use their own fallbacks if a match isn't found.
#7about 4 minutes
Choosing a strategy and final recommendations
The choice between native import maps and a framework like Module Federation depends on scale, but it is critical to plan for dependency management and singleton conflicts early.
Related jobs
Jobs that call for the skills explored in this talk.
Matching moments
45:21 MIN
Managing shared dependencies and component nesting
Interface Contracts in Microfrontend Architectures
33:55 MIN
Audience Q&A on practical micro-frontend challenges
Micro-frontends anti-patterns
06:24 MIN
Exploring the challenges and downsides of micro-frontends
Stairway to Heaven - Scaling Frontends the Right Way
00:18 MIN
The role of micro-frontends in scaling development teams
Micro-Frontends with Module Federation: Beyond the Basics
08:46 MIN
Managing risks from third-party libraries
Securing your application software supply-chain
18:12 MIN
Managing the complexity and risk of shared libraries
Micro-frontends anti-patterns
09:22 MIN
The growing problem of dependency bloat and rot
Coffee with Developers with Feross Aboukhadijeh of Socket about the xz backdoor
18:37 MIN
Managing shared dependencies and breaking changes
Independently together: how micro-applications improve developer experience + app performance
Featured Partners
Related Videos
Advanced Micro Frontends: Multi-Version and Multi-Framework Scenarios
Manfred Steyer
Micro Frontends with Module Federation: Why and How?
Manfred Steyer
Micro-Frontends with Module Federation: Beyond the Basics
Manfred Steyer
Native Federation: The Future of Micro Frontends and Plugin-Systems in Angular
Manfred Steyer
Micro-frontends anti-patterns
Luca Mezzalira
Multiple Ships to the Island - Micro Frontends & Island Architectures
Florian Rappl
The Microfrontend Revolution- Using Webpack 5 Module Federation with Angular
Manfred Steyer
Micro-frontends anti-patterns
Luca Mezzalira
From learning to earning
Jobs that call for the skills explored in this talk.


Lead Full-Stack Engineer
Hubert Burda Media
München, Germany
€80-95K
Intermediate
Senior
React
Vue.js
Node.js
MongoDB
+1


Fullstack Developer Shared Components
Dedalus HealthCare GmbH
Remote
Intermediate
API
Linux
Docker
Angular
+4




