Chapter 2: Common Challenges and Pitfalls
In the previous chapter, we saw that the evolution to microservices and ultimately micro frontends was more or less inevitable. The modularization of technology is a natural step that can be found in almost all industries. While modularization comes with a lot of strengths, it also comes with some challenges.
For our journey into micro frontends, we will also face these issues. In particular, we'll face all the common problems of modularization, plus additional trouble coming from our expectations about how a frontend should work.
This chapter covers the five most commonly seen issues when setting up a micro frontend solution.
We'll go into the following in depth:
- Performance
- Security
- Knowledge sharing
- Reliability
- User experience
The discussion on these will remain mostly theoretical. Specific implementation details will be discussed when we reach the different architecture styles.