A practical guide to what they are, when they're worth it, how to build them, and how to avoid turning your frontend into a distributed mess
Picture a Thursday afternoon at a growing company.
The Checkout team has fixed a bug that's costing real money: some customers can't apply discount codes. The fix is three lines long. It was reviewed in ten minutes. It's ready.
And it will reach customers… in eleven days.
Because the frontend is one application, it ships as one unit. The release goes out every two weeks, after the Search team finishes their redesign, after the Account team's flaky tests are stable again, and after someone figures out why upgrading a date library broke the admin dashboard. Eight teams, one repository, one build that takes twenty-five minutes, and one release that everyone waits for.
Nobody wrote bad code. The problem is that the architecture forces independent teams to move together.
This is the problem micro frontends were invented to solve.…