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 Native. To install it, go to https://facebook.github.io/watchman/docs/install.html and download the latest version for your OS (Windows, Mac, or Linux).
- In this case, we are going to use Homebrew to install it for Mac. If you don't have Homebrew, you can install it with this command:
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
- To install Watchman, you need to run:
brew update brew install watchman
- To start the React Native project, we need to ...