This is the code repository for Building Micro Frontends with React 18, published by Packt.
Develop and deploy scalable applications using micro frontend strategies
Although deservedly popular and highly performant tools for building modern web applications, React and single-page applications (SPAs) become more and more sluggish as your applications and teams grow. To solve this problem, many large web apps have started to break down monolith SPAs into independently deployable smaller apps and components—a pattern called micro frontends. But micro frontends aren't a perfect solution, but rather a double-edged sword. This book teaches you how to architect and build them with the right principles to reap all the benefits without the pitfalls.
This book covers the following exciting features:
- Discover two primary patterns for building micro frontends
- Explore how to set up monorepos for efficient team collaboration
- Deal with complexities such as routing and sharing state between different micro frontends
- Understand how module federation works and use it to build micro frontends
- Find out how to deploy micro frontends to cloud platforms
- Figure out how to build the right development experience for teams
If you feel this book is for you, get your copy today!
All of the code is organized into folders.
Following is what you need for this book: This book is for intermediate- to advanced-level developers with a working knowledge of React and web application development with JavaScript and TypeScript. Knowledge of concepts like client-side and server-side rendering, React, NodeJS, Webpack, and the basics of Kubernetes and serverless computing is desirable, but not necessary.
With the following software and hardware list you can run all code files present in the book (Chapter 1-44937).
Chapter | Software required | OS required |
---|---|---|
1-11 | React 18 | Windows, Mac OS X, and Linux (Any) |
1-11 | TypeScript 3.7 | Windows, Mac OS X, and Linux (Any) |
1-11 | Docker Engine 24 | Windows, Mac OS X, and Linux (Any) |
Vinci Rufus is a VP for technology at Publicis Sapient. He has spent over 25 years building web applications using various technologies. He has been focused on building micro frontends for about half a decade and has successfully built and managed micro frontend-based applications for a few large clients. He was formerly a Google Developer Expert and has had the opportunity to speak at numerous conferences on modern frontend and cloud-native technologies.