angularangular-module-federation

Module federation in angular ready for production?


I'm still learning about module federation angular in my office work. Is module federation in angular ready for production level?


Solution

  • This depends on what you consider to be production level.

    If the question, can you deploy an application with Module Federation? Then the answer is yes.

    The most common approach is the one defined by the Angular Architects team in this series of articles. If you visite their github you can see that working examples exist with it since Angular 12. I have also been in teams that have successfully deployed MicroFrontends with it.

    However, it always depends on what you consider to be production level.

    From my experience with it, the technology works quite well, the main issues are on the deploy side of things. The deploy of an application is usually done by a DevOps teams. They know how to deploy a normal application since. However, deploying Micro-Frontends is quite different which may cause additional difficulties.