Basics of the web approach
The web approach of implementing micro frontends works by referring to individual micro frontends via their URL. The basic principle is shown in the following diagram:
Figure 6.1 – Idea behind the web approach – different servers providing different parts of the application combined with hyperlinks
In this pattern, teams go for whole pages and are governed by a central design and business domain.
In practical applications, following the basic principle, this could mean that the origins, i.e., the protocol and domain of the website, change during navigation, i.e., when a user follows a link. For instance, a user could start at www.example.com but then navigate to mf1.example.com
without leaving the actual website.
More often, however, it means that the real web servers are hidden behind a kind of gateway, as implemented in our previous sample. In this case, the origin would remain the same, but the paths may...