Design Patterns · Senior · Question 2 of 75
What's the main trade-off of micro-frontends?
- ✓Correct answer: Independent teams and deploys at the cost of complexity, duplication and UX consistency
- 2Fast page loads at the cost of making teamwork impossible
- 3Simple infrastructure at the cost of all teams working in one repository
Explanation
Micro-frontends are justified with many autonomous teams and a large product: each part is deployed separately. The cost is duplicated dependencies, complex integration, shared design, routing and communication between parts. Smaller teams usually do fine with a modular monolith.