Since our main task is to install ReactJS, install it, and its dom packages, using install react and react-dom commands of npm respectively . You can add the packages we install, to package.
Read moreWhat is npm install react native CLI?
Running CLI with local modifications The first one is a lightweight package that should be installed globally ( npm install -g react-native-cli ), while the second one contains the actual React Native framework code and is installed locally into your project when you run react-native init .
Read more