Skip to content
IT glossary
FrontendUpdated December 3, 2026

Micro frontends

Микрофронтенды

This approach splits a web interface into feature areas that teams can release independently. Users still navigate and interact with those areas as parts of one product.

Also known as: module federation

What micro frontends are

Imagine a store where the search team can ship a new results page without waiting for the checkout team to finish its work. Micro frontends make that possible by giving teams ownership of separate parts of the user interface. A good boundary is usually a feature area or user journey, not a button or a modal. A UI component can be reusable without being a micro frontend: if changing it always requires rebuilding and releasing the whole site, it does not have an independent release path.

How the pieces fit together

One common design uses an application shell. The shell provides shared navigation and loads a feature when the user visits its route. Teams agree on what crosses the boundary: for example, the shell supplies the current locale, and checkout reports a completed order through a documented event. Keeping that contract small makes it easier to update either side without forcing a simultaneous release.

Module Federation is a way to implement this architecture, not another name for it. With Webpack 5, for example, a separately built application called a remote exposes a module, and a host loads it at runtime. Federation can also share dependencies to avoid downloading multiple copies of a library, but teams still need to manage version compatibility. You can also compose micro frontends on the server or route requests to separate applications without using federation at all.

Example: rolling out a new checkout

Suppose the shell loads checkout when a shopper visits /checkout. The checkout team publishes a new build with a different delivery form. If the shell can discover the new build and the integration contract has not changed, the team can roll it out without rebuilding the shell or the catalog. If the module fails to load, the shell can show a retry option and keep the rest of the site navigable. A versioned manifest can let operators point the shell back to a previous build, provided its files are still available.

When the trade-off makes sense

Start with the bottleneck. If teams repeatedly block one another because every change goes through the same release, independent deployment may be worth the extra integration work. If one team owns the whole UI, a single application with clear internal modules is often easier to test and run. Runtime loading can add requests, and duplicate dependencies can increase the amount of JavaScript a user downloads. Separate builds do not automatically isolate CSS or browser state, either. Test the flows that cross boundaries, such as moving from the cart to checkout, not just the parts in isolation.

What interviewers look for

In a frontend system design interview, explain what each team owns, how routing and shared data work, and what happens when a feature is unavailable. A strong answer also explains how neighboring versions stay compatible during a rollout and when a modular monolith would solve the same problem with less operational work.