Advantages and disadvantages
The major advantages of this approach are the similarity and pureness in relation to microservices, as well as its simplicity. No fancy JavaScript techniques, frontend frameworks, or requirements on the actual web server technology.
The major issues also come inheritably with these advantages. For instance, since the frontend has a much higher need for consistency using common UX patterns, it's quite difficult to stay close to microservices. These are, by definition, not necessarily consistent. Likewise, the simple approach will hit limitations quite fast.
Looking at the limitations, we see that there are only two ways of referring or using different micro frontends: links (for full page transitions) and iframes (for individual components/fragments). We will discuss both in full detail later in this chapter.
So, when should the web approach be used? The web approach makes sense when consistency is not necessarily required. It also makes sense...