Micro frontend
Appearance
Microfrontends (singular: microfrontend[1]) is a front-end web development pattern in which a single application may be built from disparate builds.[1] Every microfrontend represents a specific functionality or feature of the application and can be developed using different technologies, frameworks, or programming languages.[2] It is analogous to a microservices approach but for client-side single-page applications written in JavaScript.[3] It is a solution to de-composition and routing for multiple front-end applications.[4]
Microfrontends (MFE) can be built using the following approaches:
- With module federation
- With Single-SPA
- With Web Components
- With iFrames
Companies that use microfrontends are IKEA, Spotify, etc.[5]
For Webpack this concept is referred to as module federation.[6]
See also
References
- ^ a b "Micro Frontends". martinfowler.com. Retrieved 2023-05-03.
- ^ "Introduction to Microfrontends". InfraCloud. Retrieved 2024-03-27.
- ^ "Contentstack: What is a micro-frontend approach? - CW Developer Network". www.computerweekly.com. Retrieved 2022-08-29.
- ^ "Decision Strategies for a Micro Frontends Architecture". InfoQ. Retrieved 2022-08-29.
- ^ "Experiences Using Micro Frontends at IKEA". InfoQ. Retrieved 2022-08-29.
- ^ "Module Federation". webpack. Retrieved 2022-08-29.