Member-only story

Problems with Micro-frontends

Steven Lemon
The Startup
Published in
15 min readMar 3, 2020

For the past six months, our team has been rewriting our application using a micro-frontend approach. Given how popular micro-frontends appear to be at the moment, I wanted to share our experiences and the lessons we learned.

Micro-frontends can be a fantastic tool, but they are not a silver bullet. Depending on the structure of your project, team and business, you may not be able to take advantage of the benefits. Worse, micro-frontends may undermine the architecture of your application and hinder your team’s ability to deliver. For our team, micro-frontends proved to be a particularly poor fit and an example of where the micro-frontend approach isn’t the best option.

The (potential) benefits of micro-frontends

This experience happened to be my second encounter with taking a micro-frontend approach. At a previous role, we had a team maintaining a shell Android application and four teams, each responsible for a separate webview within the shell application. Each team addressed an entirely separate business concern, and the autonomy micro-frontends provided us ensured that each team could own the entirety of their stack. Teams were able to develop and release independently and didn’t have to worry about affecting each other unless they touched the shared library or shared workflows. Maintaining the shell and the…

The Startup
The Startup

Published in The Startup

Get smarter at building your thing. Follow to join The Startup’s +8 million monthly readers & +772K followers.

Steven Lemon
Steven Lemon

Written by Steven Lemon

Lead Software Engineer and occasional Scrum Master. Writing about the less technical parts of being a developer.

Responses (8)

Write a response

> You need to pass state across separate applications, languages and frameworks.
Why not have one state that is shared across all micro frontend. This will also solve the problem of caching.
I do not even get how people arrive at a conclusion that…

Great topic. Thanks for sharing this. We’re building our app also following micro-frontends architectural approach and faced some of those difficulties. At this point of time I think the way to “win” from usage of it is to treat micro-frontends as…

Good article. Agree with some of the points but not all.
Author did not provide information on what type of microfrontend they used:
a) Compile time MF become part of node modules and hence can be classisfied as distributed monolith.
b) Runtime MF are…

Recommended from Medium

Lists

See more recommendations