Skip to content

HTML / CSS

Web Direction Code: Micro FrontEnd at Scale by Mecca

Shabnam and I presented at WebDirection Code about micro frontends at Mecca. It was a chance to share what our engineering team built over the past few ye...

15 Oct 2023 · 2 min read

Web Direction Code: Micro FrontEnd at Scale by Mecca

Shabnam and I presented at WebDirection Code about micro frontends at Mecca. It was a chance to share what our engineering team built over the past few years -- and what we learned the hard way.

1_SjAWfZBl6uDX8R3Mf3cijw.webp

The problem we solved

Mecca's frontend started as a monolith. One repo, one build, one deployment pipeline. As the team grew, this became a bottleneck. Every feature change required coordinating across teams. A bug in one feature could block deployment of everything else. CI took forever.

We moved to a micro frontend architecture. Each team owns an independent frontend application with its own repo, build pipeline, and deployment cycle. These apps compose together to form the user-facing product.

I started the talk by asking the audience how many had worked with micro frontends. Less than 20% raised their hands. This architecture is still uncommon, but for organizations at a certain scale, it solves real coordination problems.

1_FzuZuxphXps-44HojT2C9g.webp

What Shabnam covered

Shabnam, the technical lead, walked through the real challenges: shared dependencies, consistent styling across apps, routing between micro frontends, and authentication state management. She also shared our roadmap for improving the architecture.

1_HYOIPjv95C1dyuFHfx0BJw.webp

The trade-offs

Micro frontends solve organizational scaling problems. Independent teams can ship independently. But they introduce technical complexity: shared state management, bundle duplication, inconsistent UX if teams drift apart, and more infrastructure to maintain.

A monolithic frontend is simpler to build, test, and deploy -- until it isn't. If your team is small and your product is focused, a monolith is the right choice. Micro frontends are an investment that pays off when you have multiple teams that need to move at different speeds.

Watch the talk

The full presentation was published on Conffab. If you're considering micro frontends for your organization, it covers the practical realities that blog posts usually skip.

Ehsan Gazar helps software engineers take LLM and agent systems from demo to production. He writes about building LLM systems that hold up in production: evals, tracing, RAG, agent architecture and cost control. He teaches the Senior to Staff AI Engineer cohort on Maven, where engineers learn to design and defend these systems.

Go further
Live cohort on Maven

Forward Deployed AI Engineering: From Customer Problem to Production Value

A live Maven cohort for engineers: 10 live 90-minute sessions taking one AI engagement from customer problem to production, ending with eight artefacts and a working slice in your own repo.

January cohort starts Tue 12 Jan 2027, Tue & Thu 6:30pm London. Enrolling now, 20 seats, $1,800.

View the live cohort

Keep reading