Micro frontend

A micro frontend is an architectural pattern for web development, where independently developed frontends are composed into a greater whole.[1] 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[4]
  • With Web Components
  • With iframes

Companies that use micro frontends are Canonical, IKEA, Scania AB, Spotify, etc.[5]

For Webpack this concept is referred to as module federation.[6]

See also

References

  1. ^ "Micro Frontends". martinfowler.com. Retrieved 2023-05-03.
  2. ^ "Contentstack: What is a micro-frontend approach?". CW Developer Network. Retrieved 2022-08-29.
  3. ^ "Decision Strategies for a Micro Frontends Architecture". InfoQ. Retrieved 2022-08-29.
  4. ^ Rappl, Florian. The Art of Micro Frontends. Verzdesign Publishing. ISBN 978-1-83546-637-7.
  5. ^ "Experiences Using Micro Frontends at IKEA". InfoQ. Retrieved 2022-08-29.
  6. ^ "Module Federation". webpack. Retrieved 2022-08-29.


Content Disclaimer

Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.