Separation of concerns
In splitting discussions, we’ll rather quickly end up in a situation where it’s more about the kind of split rather than the domain to split. Interestingly enough, when micro frontends started, most people were excited about technical splits. In my opinion, however, the true benefit of micro frontends can only be realized with business-driven split decisions.
Let’s have a look at both options, what they have in common, and where they excel.
Technical split
A technical split usually starts by looking at the screen and drawing lines on the web page. Quite naturally, we will end up with a split that may be close to the illustration shown in the following screenshot:
Figure 4.3 – A possible technical split; elements on the screen are grouped and placed in different micro frontends
The problem with a technical split is that each micro frontend now contains parts of different domains—for instance...