gif by Paul van Oijen on Dribble

React is a javascript library for building user interfaces which is developed by Jordan Walke. React Native is used to build mobile apps of both Android and iOS using JavaScript. We can build apps faster instead of recompiling, and also reload app instantly with the help of Hot Reloading.

Getting Started

Step 1.

Download and install Node & npm. Open terminal and check the node and npm version.

node -v

Step 2.

Run the following command to install `Watchman`.

brew install watchman

Step 3.

Final step to install React native

npm install -g react-native-cli

Step 4.

Run the following command to check the current version of React native installed in your system.

react-native -v

Step 5.

Create `HelloWorld` project using React native.

react-native init HelloWorld
cd HelloWorld
Note : Please make ensure you have installed Android SDK and XCode before running the following commands.
react-native run-android
react-native run-ios