Micro Frontends in Action

  • 4h 45m
  • Michael Geers
  • Manning Publications
  • 2020

Micro Frontends in Action teaches you to apply the microservices approach to the frontend.


Browser-based software can quickly become complex and difficult to maintain, especially when it’s implemented as a large single-page application. By adopting the micro frontends approach and designing your web apps as systems of features, you can deliver faster feature development, easier upgrades, and pick and choose the technology you use in your stack. Micro Frontends in Action is your guide to simplifying unwieldy frontends by composing them from small, well-defined units.

About the Technology

Micro frontends deliver the same flexibility and maintainability to browser-based applications that microservices provide for backend systems. You design your project as a set of standalone components that include their own interfaces, logic, and storage. Then you develop these mini-applications independently and compose them in the browser.

About the Book

Micro Frontends in Action teaches you to apply the microservices approach to the frontend. You’ll start with the core micro frontend design ideas. Then, you’ll build an e-commerce application, working through practical issues like server-side and client-side composition, routing, and maintaining a consistent look and feel. Finally, you’ll explore team workflow patterns that maximize the benefit of developing application components independently.

What’s Inside

  • Create a unified frontend from independent applications
  • Combine JavaScript code from multiple frameworks
  • Browser and server-side composition and routing
  • Implement effective dev teams and project workflow

About the Reader

For web developers, software architects, and team leaders.

About the Author

Michael Geers is a software developer specializing in building user interfaces.

In this Book

  • About This Book
  • About the Cover Illustration
  • What are Micro Frontends?
  • My First Micro Frontends Project
  • Composition with Ajax and Server-Side Routing
  • Server-Side Composition
  • Client-Side Composition
  • Communication Patterns
  • Client-Side Routing and the Application Shell
  • Composition and Universal Rendering
  • Which Architecture Fits My Project?
  • Asset Loading
  • Performance is Key
  • User Interface and Design System
  • Teams and Boundaries
  • Migration, Local Development, and Testing