- Server-Side Composition: The server collects the different micro frontends into a solitary HTML page. This strategy can make use of existing server-side rendering techniques and ensures quick initial load times.
- Client-Side Composition: The browser loads and assembles the various micro frontends dynamically. This approach offers greater adaptability and can diminish server load yet may bring about more slow beginning burden times.
- Edge-Side Composition: The micro frontends are put together by an edge server or content delivery network (CDN). This approach can join the advantages of both server-side and client-side organization, offering quick burden times and adaptability.
A powerful strategy for creating web applications that are scalable, manageable, and adaptable is micro frontend architecture. By stalling the frontend stone monument into more modest, free pieces, engineers can accomplish more noteworthy independence, quicker conveyance, and simpler support. Even though implementing micro frontends brings with it new difficulties, the advantages frequently outweigh the disadvantages, making it an appealing option for contemporary web development.
While far from the only approach, micro-frontends have been delivering these benefits and this technique is able to apply gradually over time to the legacy codebase as well. Whether micro frontends are the right approach for you and your organization or not, we can only hope that this will be part of a continuing trend where frontend engineering and architecture is treated with the seriousness that we know it deserves.