DEV Community

Cover image for Tools and libraries widely used in micro frontend architectures!
Ricardo Maia
Ricardo Maia

Posted on

Tools and libraries widely used in micro frontend architectures!

To implement a microfrontend architecture in projects, several tools and libraries are widely used. Below are the key tools categorized by their purpose:

𝙈𝙞𝙘𝙧𝙤𝙛𝙧𝙤𝙣𝙩𝙚𝙣𝙙 𝙁𝙧𝙖𝙢𝙚𝙬𝙤𝙧𝙠𝙨 𝙖𝙣𝙙 𝙇𝙞𝙗𝙧𝙖𝙧𝙞𝙚𝙨

  1. 𝗦𝗶𝗻𝗴𝗹𝗲-𝗦𝗣𝗔

    • Description: Enables the integration of multiple JavaScript frameworks within the same frontend.
    • Official Website
  2. 𝗠𝗼𝗱𝘂𝗹𝗲 𝗙𝗲𝗱𝗲𝗿𝗮𝘁𝗶𝗼𝗻 (𝗪𝗲𝗯𝗽𝗮𝗰𝗸 𝟱)

    • Description: Allows different applications to share modules at runtime.
    • Documentation
  3. 𝗤𝗶𝗮𝗻𝗸𝘂𝗻

    • Description: A framework based on Single-SPA, facilitating the implementation of microfrontends, particularly in Vue applications.
    • Official Website
  4. 𝗠𝗼𝘀𝗮𝗶𝗰

    • Description: A component-based microfrontend platform that supports the development and integration of microfrontends.
    • Official Website

𝙁𝙚𝙧𝙧𝙖𝙢𝙚𝙣𝙩𝙖𝙨 𝙙𝙚 𝘽𝙪𝙞𝙡𝙙 𝙚 𝘽𝙪𝙣𝙙𝙡𝙞𝙣𝙜

  1. 𝗪𝗲𝗯𝗽𝗮𝗰𝗸

    • Description: A popular bundling tool that, combined with Module Federation, simplifies the implementation of microfrontends.
    • Official Website
  2. 𝗣𝗮𝗿𝗰𝗲𝗹

    • Description: A web application bundler with minimal configuration, well-suited for microfrontend projects.
    • Official Website
  3. 𝗥𝗼𝗹𝗹𝘂𝗽

    • Description: An efficient bundler for creating packages in microfrontend applications.
    • Official Website

𝙊𝙧𝙘𝙝𝙚𝙨𝙩𝙧𝙖𝙩𝙞𝙤𝙣 𝙖𝙣𝙙 𝙄𝙣𝙩𝙚𝙜𝙧𝙖𝙩𝙞𝙤𝙣 𝙏𝙤𝙤𝙡𝙨

  1. 𝗙𝗿𝗶𝗻𝘁𝗝𝗦

    • Description: A modular framework for building microfrontends.
    • Official Website
  2. 𝗠𝗶𝗰𝗿𝗼 𝗙𝗿𝗼𝗻𝘁𝗲𝗻𝗱𝘀 𝗙𝗿𝗮𝗺𝗲𝘄𝗼𝗿𝗸

    • Description: Facilitates the creation of microfrontend architectures by integrating multiple front-end applications.
  3. Official Website

𝘾𝙤𝙢𝙢𝙪𝙣𝙞𝙘𝙖𝙩𝙞𝙤𝙣 𝙖𝙣𝙙 𝙎𝙩𝙖𝙩𝙚 𝙈𝙖𝙣𝙖𝙜𝙚𝙢𝙚𝙣𝙩 𝙏𝙤𝙤𝙡𝙨

  1. 𝗥𝗲𝗱𝘂𝘅

    • Description: A popular state management library, useful for handling shared state across microfrontends.
    • Official Website
  2. 𝗠𝗼𝗯𝗫

  3. 𝗥𝘅𝗝𝗦

    • Description: A library for reactive programming that aids communication between microfrontends.
    • Official Website

𝙐𝙄 𝙖𝙣𝙙 𝘾𝙤𝙢𝙥𝙤𝙣𝙚𝙣𝙩 𝙏𝙤𝙤𝙡𝙨

  1. 𝗦𝘁𝗼𝗿𝘆𝗯𝗼𝗼𝗸

    • Description: A tool for developing and testing UI components in isolation.
    • Official Website
  2. 𝗕𝗶𝘁

    • Description: A platform for sharing and reusing components across different projects.
    • Official Website

𝙄𝙢𝙥𝙡𝙚𝙢𝙚𝙣𝙩𝙖𝙩𝙞𝙤𝙣 𝙋𝙧𝙖𝙘𝙩𝙞𝙘𝙚𝙨

  1. 𝗦𝘁𝘆𝗹𝗲 𝗜𝘀𝗼𝗹𝗮𝘁𝗶𝗼𝗻

    • Description: Use CSS-in-JS or Shadow DOM to isolate styles between microfrontends.
    • CSS-in-JS
    • Shadow DOM
  2. 𝗪𝗲𝗯 𝗖𝗼𝗺𝗽𝗼𝗻𝗲𝗻𝘁𝘀

    • Description: Use the Web Components specification to create custom, reusable elements across different microfrontends.
    • Documentation

𝘿𝙚𝙫𝙊𝙥𝙨 𝙖𝙣𝙙 𝘿𝙚𝙥𝙡𝙤𝙮𝙢𝙚𝙣𝙩 𝙏𝙤𝙤𝙡𝙨

  1. 𝗗𝗼𝗰𝗸𝗲𝗿

    • Description: Containerizes microfrontends for consistent development and deployment.
    • Official Website
  2. 𝗞𝘂𝗯𝗲𝗿𝗻𝗲𝘁𝗲𝘀

    • Description: Orchestrates containers to scale and manage microfrontends.
    • Official Website
  3. 𝗝𝗲𝗻𝗸𝗶𝗻𝘀

    • Description: A CI/CD tool for automating build and deployment pipelines.
    • Official Website

𝗜𝗺𝗽𝗹𝗲𝗺𝗲𝗻𝘁𝗮𝘁𝗶𝗼𝗻 𝗘𝘅𝗮𝗺𝗽𝗹𝗲𝘀

  1. 𝗠𝗶𝗰𝗿𝗼-𝗙𝗿𝗼𝗻𝘁𝗲𝗻𝗱 𝗘𝘅𝗮𝗺𝗽𝗹𝗲𝘀 𝗯𝘆 𝗖𝗮𝗺 𝗝𝗮𝗰𝗸𝘀𝗼𝗻
    • Description: Detailed examples of different approaches to microfrontends.
    • GitHub Repository

By leveraging these tools and practices, you can create a robust and scalable microfrontend architecture for your projects, enabling independent development and efficient integration across different parts of your application.

Top comments (0)