Skip to content

Project to test micro-frontends with React

Notifications You must be signed in to change notification settings

tutods/micro-frontends

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React Micro Frontends

📹 Video with all steps

I follow the video below to make this project.

Note: this project is only to studying purpose.

youtube

🚀 How to run?

Follow the steps below to run this project.

  1. Install root packages, for that run: npm install or yarn install;
  2. Install micro frontends packages, using on of this commands: npm install or yarn install;
    1. Note: you need run the installer to ./packages/counter and ./packages/host folders;
  3. After that you only need run one of this commands on root folder: npm run start or yarn start.

Why use Yarn

You can find the table below on the internet, I use this table to compare the speeds between the Yarn and NPM, but Yarn have other advantages.

Without Cache With Cache Reinstall
NPM 6.13.4 67 seconds 61 seconds 28 seconds
Yarn 1.21.1 57 seconds 29 seconds 1.2 seconds