Building micro frontends allows for independent deployments and releases, autonomous teams, and modular codebases. Libraries like Webpack Module Federation, Single SPAs, and h-include can be used for run-time micro frontend composition. Reverse proxy composition provides convenient technique for project re-platforming, server side rendering, easy management, and no need for a container application. However, it is only suitable when the whole page is a single micro frontend, can cause delays in page loading, and may result in inconsistent page layout.
Table of contents
You Don't Need Another Library to Compose Micro Frontends at Run Time1. Reverse Proxy Composition — Each application is an independent SPA2. Composition by lazy loading the micro frontends bundled using JavaScriptSort: