how to create react native code example
Example 1: react native install
npm install -g react-native-cli
Example 2: how to create a new react native project
$ npx react-native init firstapp
npm install -g react-native-cli
$ npx react-native init firstapp