
The Art of Micro Frontends
By :

Micro frontends can be created on a per-view basis, as well as in a compositional way where multiple teams contribute to the same view. Using the former method, we refer to a horizontal approach, while the latter method corresponds to a vertical approach. In a horizontal approach, micro frontends are usually developed by people coming from different subdomains.
The following screenshot illustrates a typical horizontal approach:
Figure 5.2 – In a horizontal approach, multiple teams deliver multiple pages, each composed of multiple features
The main advantage of a horizontal approach is that it is very easy to reason with. Every micro frontend is not only developed in isolation, but is also most often found as an isolated web application in one way or another.
The main disadvantage of a horizontal approach is that it does not scale well. While most websites use parts from multiple subdomains on...