Microfrontend Explained
Micro frontends (singular: micro frontend[1]) is a front-end web development pattern in which a single application may be built from disparate builds. It is analogous to a microservices approach but for client-side single-page applications written in JavaScript.[2] It is a solution to de-composition and routing for multiple front-end applications.[3]
Micro frontends (MFE) can be built using the following approaches:
- With tooling such as module federation or native federation
- With libraries such as Single-SPA or frameworks such as Piral
- With Web Components
- With iframes
Companies that use micro frontends are Canonical, IKEA, Scania AB, Spotify, etc.[4]
For Webpack this concept is referred to as module federation.[5]
See also
Notes and References
- Web site: Micro Frontends . 2023-05-03 . martinfowler.com.
- Web site: Contentstack: What is a micro-frontend approach? - CW Developer Network . 2022-08-29 . www.computerweekly.com.
- Web site: Decision Strategies for a Micro Frontends Architecture . 2022-08-29 . InfoQ . en.
- Web site: Experiences Using Micro Frontends at IKEA . 2022-08-29 . InfoQ . en.
- Web site: Module Federation . 2022-08-29 . webpack . en.