Micro-Frontends
When and how to adopt micro-frontends: implementation approaches, trade-offs, and common challenges.
Micro-frontends extend the microservices idea to the frontend: instead of one monolithic application, you build a shell that loads and orchestrates multiple independent "mini-apps," each owned and deployed by different teams. The approach has clear benefits and real costs—understanding both is essential before adoption.
What Are Micro-Frontends?
A micro-frontend architecture splits a frontend into semi-independent applications. Each micro-frontend typically maps to a business domain or team (e.g., checkout, product catalog, user profile). Teams can develop, test, and deploy their slice independently, using different frameworks or technologies if needed.
The host application (shell) is responsible for loading micro-frontends, routing between them, and providing shared concerns like authentication, theming, and navigation. Micro-frontends communicate via events, shared state, or URL parameters rather than direct imports.
When to Use Micro-Frontends
Micro-frontends make sense when:
- Multiple teams work on distinct areas of the same product and need independence in release cycles and tech choices.
- Legacy migration is underway—you can incrementally replace parts of an old app without a big-bang rewrite.
- Scale and autonomy matter—teams can own their full vertical (UI + API) and ship without coordinating with everyone.
They are less suitable when:
Continue reading Micro-Frontends
Sign in or create a free account to read the rest of this article and all premium content.
Sign in to continue readingRelated articles
- Frontend ArchitectureFeature Flags and A/B Testing
Ship behind flags, run experiments, and roll out features gradually. How to implement feature flags and A/B testing in frontend applications.
Read article - Frontend ArchitectureInternationalization (i18n)
Supporting multiple languages and regions: locales, formatting, RTL, and translation workflows for frontend applications.
Read article - Frontend ArchitectureFrontend System Design
A structured framework for approaching frontend system design interviews and real-world architecture decisions.
Read article - Frontend ArchitectureState Management at Scale
Master state architecture for large frontend applications: when to use local vs global state, library trade-offs, server state, and state machine patterns.
Read article