How to create React Micro Frontends from scratch using single-spa framework
Published in
5 min readMar 16, 2021
In this article I will show you how you can create a React single-spa applications (microfrontends) from scratch using
create-single-spa
CLI tool.
What is single-spa?
You can check more here:
⚠️ NOTE: If you want to create a React single-spa application from an already existed React application created by create-react-app
script — this article is not for you. Because of a create-react-app
webpack configuration, we will need to override those settings.
What will be covered in this article?
- Creating single-spa root config
- Creating single-spa React application
- Adding links to shared modules