getting-started-react-native

Getting started with React Native for mobile development

MIT License

Stars
8

getting-started-react-native

Getting started with React Native for mobile development

Presentation Slides

Click here

Quick Guide (iOS on Mac OS X)

You will need to have Brew and Xcode already installed. Make sure to also have the Chrome browser installed.

# Install Node.js
brew install node

# Install Watchman
brew install watchman

# Install React Native Comand Line Tools
npm install -g react-native-cli

I suggest you use Atom instead of Sublime due to better syntax highlighting for JavaScript.

Now, you can create a new project:

react-native init MyProject

# Go to the project directory and run it
cd MyProject
react-native run-ios

The entry point for your app will be in the file index.ios.js

Note: running the finished MyProject example in this repository

If you wish to run the example app in this repository without creating your own project, cd to MyProject and run

npm install

That will install all the package dependencies necessary for the app. Then, follow the instructions above to call react-native run-ios.

Step-By-Step Guide (Building First App)

Click here

Related Projects