-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating

The Art of Micro Frontends
By :

Server-side composition is among the most used patterns for implementing micro frontends. There are several reasons for this. On the one hand, we have a pattern that scales well, encourages loose coupling, and has great performance. On the other hand, this pattern allows dynamic discovery, independent development, and a high degree of flexibility.
As usual, there are a couple of disadvantages, too. Since different frontends are merged into a single page, there is no way to ensure proper isolation. Consequently, scripts and style sheets may conflict with each other. Conflicts may also appear more often due to a lack of proper debugging tools.
While debugging an individual micro frontend is pretty much as straightforward as for the web approach, debugging a composed website is quite difficult. Getting a proper local development flow for this pattern can be quite complicated. This is the time when established frameworks such as Mosaic 9 or Podium come...