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