Don’t make your micro apps too small
We touched upon this at the start of the book, but it’s important to stress it again. Way too many developers think that, in a microfrontend architecture, the micro apps need to be really small. This is not true, as creating very small microapps greatly increases the complexity and maintenance headaches, without achieving any benefits.
In trying to identify what the right size is for your micro app, we’ve seen it helps if we take into consideration the following points:
- Is it the largest possible micro app that can independently exist?
- Is it the largest possible micro app that’s owned by a single agile scrum team?
- Does this app undergo changes and updates that are at a pace different from the rest of the application?
- Another point to consider is thinking in terms of domains, based on domain-driven design principles, to determine what business features a given micro app should support or not support...