The current trend in building advanced applications is the so-called single page application, which are located in the top layer of the application. This approach can generate many complications as the complexity of the application increases. How to deal with this? The solution are frontends.
The concept of micro frontends is derived from the microservices architecture and was first used publicly in 2016.
The idea of micro frontends is to think of the application as a set of features. Such features can be built by separate teams (as is the case in the world of microservices). In this case, we can create cross-functional teams that build a part of the application responsible for a given business segment from the database to the front-end.
What are the benefits of using micro frontends?
- Smaller and easier to maintain code snippets
- Autonomous teams
- Easier deployments / updates
- Easier testing