Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Microfrontends with React: A Complete Developer's Guide
Bestseller
Rating: 4.8 out of 5(9,927 ratings)
68,140 students

Microfrontends with React: A Complete Developer's Guide

Build incredibly scalable apps with a microfrontend architecture
Created byStephen Grider
Last updated 2/2026
English

What you'll learn

  • Use microfrontends to architect an app that dozens of teams can work on at the same time
  • Structure your apps to scale to millions of users
  • Understand how to divide a monolithic app into multiple sub-apps
  • Coordinate data exchanged between your microfrontends
  • Apply a production-style workflow with a full CI/CD pipeline
  • Deploy your microfrontends to Amazon Web Services with CloudFront
  • Isolate rules styling by applying CSS-scoping techniques
  • Judge whether microfrontends are an appropriate choice for your application

Course content

13 sections124 lectures9h 5m total length
  • Course Resources0:38
  • What is a Microfrontend?4:47

    Explore microfrontends by turning a monolithic app into independent feature apps—product listing and shopping cart—communicating via API, not direct calls, for isolated, team-driven development.

  • Application Overview2:52

    Explore how micro frontends decompose a mock e-commerce app into a container, a product listing, and a cart. See how the container coordinates where and when to render each feature.

  • Understanding Build-Time Integration3:59

    Compare build-time and run-time integration to orchestrate micro front ends. Build-time packages products list as an npm package and bundles with the container, but redeployments and tighter coupling are downsides.

  • A Run-Time Integration2:59

    Explore run-time integration with webpack module federation by loading the ProductsList app from a remote js bundle into a container app, enabling independent deployment and ab testing while weighing complexity.

  • Build-Time vs Run-Time Integrations
  • Project Setup1:07

    Learn runtime integration by creating folders for container, cart, and products microfrontends, each with index.js, html, package.json, and webpack config, using plain JavaScript and running in isolation, starting with products.

  • Starter Project Files0:28
  • Generating Products2:38

    Create a fake product list in a microfrontend by building src/index.js, using faker to generate product names, and logging HTML ready markup while preparing for webpack transformation.

  • Some Background on Webpack5:37

    Explore how webpack bundles multiple JavaScript files into a single main.js output by setting up webpack.config.js, updating the start script, and inspecting the dist bundle and faker dependencies.

  • A Touch More on Webpack7:03

    Configure and run webpack dev server on port 8081 to serve main.js, while HTML Webpack Plugin auto-injects the correct bundle scripts into index.html.

  • Finishing the Product List1:28

    Display the generated product list by injecting it into a div with id dev-products in index.html and setting its innerHTML to products via a querySelector in index.js.

  • Scaffolding the Container4:35

    Learn how to scaffold the container for microfrontends by creating public/index.html, src/index.js, and a webpack.config.js with the HTML Webpack plugin, configure ports 8080 and 8081, and verify the container runs.

Requirements

  • Basic understanding of React

Description

Congratulations! You've found the most popular, most complete, and most up-to-date resource online for learning how to use microfrontends!

Thousands of other engineers have learned microfrontends, and you can too. This course uses a time-tested, battle-proven method to make sure you understand exactly how microfrontends work, and will get you a new job working as a software engineer or help you build that app you've always been dreaming about.

The difference between this course and all the others: you will understand the design patterns used by top companies to build massively popular web apps.

Microfrontends are used to divide a large app into a series of smaller apps. This provides a set of unique benefits to any frontend:

  1. Author smaller, easier to understand codebases

  2. Use a different set of libraries for each sub-app - bring the best tool for the job!

  3. Deploy each portion separately - limit the chance of interrupting your users

  4. Allow each of your engineering teams to work independently

This new architecture is popular, but there is a lot of misinformation online. This course has been developed with input from top engineers to ensure total technical accuracy. Additionally, you'll learn how to evaluate whether microservices are a good choice for your application.

----------------------

What will you build?

This course features hundreds of videos with dozens of custom diagrams to help you understand how microfrontends work. No prior experience is necessary. Through tireless, patient explanations and many interesting practical examples, you'll learn the fundamentals of building dynamic and live web apps using microfrontends.

Each topic included in this course is added incrementally, to make sure that you have a solid foundation of knowledge. You'll find plenty of discussion added in to help you understand exactly when and where to use each aspect of microfrontends.

Below is a partial list of the topics you'll find in this course:

  • Learn design patterns used by the largest companies in the world

  • Understand when to use microfrontends

  • Link multiple apps together using a tiered routing system

  • Scope CSS on your page to prevent cross-app contamination

  • Avoid sharing state between apps to promote isolation

  • Deploy each portion of your app independently to avoid production bugs

  • Scaffold a CI/CD pipeline to automate your release process

  • Utilize multiple front-end frameworks in the same app

  • Maximize performance by using module federation

I built this course to save you hundreds of hours of self study. I've put years of my own experience into this course to save you time. Sign up today and join me in mastering microfrontends.

Who this course is for:

  • Engineers looking to scale frontend apps