In this recipe, we are going to build a React Native application and understand the main differences between React and React Native.
Creating our first React Native Application
Getting Ready
To create our new React Native application, we need to install the react-native-cli package:
npm install -g react-native-cli
How to do it...
Now, to create our first app:
- Let's do it with this command:
react-native init MyFirstReactNativeApp
- After we built our React Native app, we need to install Watchman, which is a file-watching service required by React...