JavaScript React Components Build Modular Interfaces with Components Setting up with Create React App

Yarn vs npm

I noticed Yarn is being used in the video instead of npm. How do you get create-react-app to use Yarn instead of npm?

Which do you prefer, Yarn or npm?

michael williams
michael williams
18,293 Points

I have been preferring npm lately actually... but also, it depends on your operating system. if your working on windows.. yarn is not a good choice usually. NPM is better it is more compatible than yarn