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

The Art of Micro Frontends
By :

Micro frontend solutions based on the SPA composition pattern share many of the advantages and disadvantages of non-micro frontend SPAs. For instance, one advantage of a SPA is that the interaction feels smooth and immersive. However, since SPAs usually require a lot more resources and JavaScript to work, the initial loading time makes it bulky, too.
One crucial difference to monolithic SPAs is that SPA micro frontends are a lot harder to debug. While monolithic SPAs have great debugging tools, a micro frontend SPA is already difficult to develop. Most solutions will enable some kind of development mode on a live instance – sometimes even the one running in the production environment. While for most development efforts this may be acceptable, the lack of an offline-first development environment can be quite painful at times. In the next chapter, we'll see how this can be improved right away.
In comparison to other micro frontend patterns...