Advertisement
Intermediate Angular, Micro Frontends with Angular

What is a micro frontend architecture, and why might a large organization choose it for their Angular apps?

Short answer

A micro frontend architecture splits a large web application into several smaller, independently developed and deployed applications, often owned by separate teams, that are then composed together into a single user experience.

Save Angular mock interview
Advertisement
AModel answer
A micro frontend architecture splits a large web application into several smaller, independently developed and deployed applications, often owned by separate teams, that are then composed together into a single user experience. This lets large organizations scale development across many teams without everyone needing to coordinate releases of one single massive application.
Example

// Conceptually, a shell app loads separate independently deployed applications // Team A owns and deploys the 'checkout' micro frontend // Team B owns and deploys the 'catalog' micro frontend // Both are composed together into one seamless user experience

Real-world example
A large retail company splits their website into separate checkout, catalog, and account micro frontends, each owned and deployed independently by different teams, letting each team ship updates without waiting on the others.
Likely follow-ups
  • What are the main challenges a team faces when adopting a micro frontend architecture?
  • How does this approach compare to simply using Angular's own lazy loaded feature modules?
Related topics