start a new react native app code example
Example 1: how to run react native app
react-native run-android
react-native run-ios
Example 2: how to create a new react native project
$ npx react-native init firstapp
react-native run-android
react-native run-ios
$ npx react-native init firstapp