Create a React Native project

Previously, the starting point of every new React project in this book was using Create React App to create a boilerplate for your application. For React Native, a similar boilerplate is available, which is part of the Expo CLI, and it can be set up just as easily:

You need to globally install the Expo CLI with the following command using npm:

npm install -g expo-cli

This will start the installation process, which can take some time as it will install the Expo CLI with all of its dependencies that help you develop mobile applications. After this, you're able to create a new project using the init command from the Expo CLI:

expo init house-listing

Expo will now create the project for you but, first, it will ask ...

Get React Projects now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.