The Dependency Cookbook - Recipes for Micro Frontend success
What happens when a dependency update breaks your entire micro frontend? This talk offers the recipes for a resilient, scalable architecture.
#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
09:18 MIN
Managing shared dependencies and component nesting
Interface Contracts in Microfrontend Architectures
02:13 MIN
Sharing libraries and handling version conflicts
Micro Frontends with Module Federation: Why and How?
02:17 MIN
Key takeaways for successfully adopting micro frontends
Front-End Micro Apps
04:34 MIN
Conclusion and key takeaways on micro frontends
Micro Frontends with Module Federation: Why and How?
02:57 MIN
Integrating micro frontends with module federation
Advanced Micro Frontends: Multi-Version and Multi-Framework Scenarios
13:10 MIN
Audience Q&A on practical micro-frontend challenges
Micro-frontends anti-patterns
04:06 MIN
The historical challenge of building micro frontends
The Microfrontend Revolution- Using Webpack 5 Module Federation with Angular
01:53 MIN
Exploring the challenges and downsides of micro-frontends
Stairway to Heaven - Scaling Frontends the Right Way
Micro Components - a different approach to a simpler component-based webThere has been a lot of heated discussion lately in the web community about component based development. One side argued that Web Components are a standard we should follow whereas others complained that they still lag behind in what frameworks offer...
Benedikt Bischof
Why You Shouldn’t Build a Microservice ArchitectureWelcome 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...
Dev Digest 136 - No JS(on) of mineNews and ArticlesDouglas Crockford is our featured video, so let's talk about evolving JavaScript and all things JSON. Judicious JSON explains all the weird things in it, you can learn why it can be incredibly slow, people wonder what even is a JSON ...
From learning to earning
Jobs that call for the skills explored in this talk.