January 2019
Intermediate to advanced
592 pages
14h 30m
English
Assuming you've followed the introduction to this chapter, you should already have the React Native CLI installed globally. If not, go ahead and do so now with npm:
npm install -g react-native-cli
To create a new pure React app with the CLI, we'll use the following command:
react-native init NativeBase
This creates a new pure React Native app in a folder called NativeBase in the current directory. The next step is to install the required peer dependencies. Let's cd into the new NativeBase directory and install the native-base package using npm:
npm install native-base --save
Alternatively, you can use yarn:
yarn add native-base
Finally, we will install the Native dependencies with the following ...
Read now
Unlock full access