Chapter 13. Kickstarting React Native Projects

In this chapter, you'll get up-and-running with React Native. Thankfully, much of the boilerplate stuff regarding the creation of a new project is handled for us by React Native command line tools. I'll explain what's actually created for you when you initialize an empty project. Then, I'll show you how to run the project on iOS and on Android simulators.

Using the React Native command-line tool

In this section, we're going to install the react-native-cli tool and use it to create an empty React Native project. Well, the created project isn't completely empty: it has a basic screen implemented so you can verify that everything is functioning correctly. Technically, you don't need react-native-cli to ...

Get React and React Native now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.