Understanding our HelloWorld app
This is great. We've got the app running in our simulator. Sure, it required a little bit of work to install the necessary tools, but the good news is that the only thing we'll need to do from this point forward is run the react-native init AppName
command whenever we wish to create a new app. All our tools are installed and we're ready to start developing. But before we get into the meat and potatoes of React Native, let's quickly take a look at what exactly the React Native CLI provided us. Open up package.json
in your text editor of choice. I'm using Atom (https://atom.io/) as shown in the following screenshot:
I want to call your attention to dependencies section. Here, you should only see two items listed: ...
Get Mastering 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.