React Native Cheatsheet

React Native Cheatsheet

This is a under development kind of thing for react native concept I have been learning.

Prepare your environment

First you need to install react-native cli, to do that usesudo npm install -g react-native-cliand installed JDK, Android SDK and set environment variables and PATH. For more info go tohttps://facebook.github.io/react-native/docs/getting-startedand install yarn for faster node packages installation.

Create your first react native app

Open Terminal and type

react-native init HelloWorld	# It will create a new folder named HelloWorld.
cd HelloWorld
react-native run-android 		# Run you app, May take some time for first run.

and connect your Android device to your computer.

Generating Signed APK.

Referhttps://facebook.github.io/react-native/docs/signed-apk-android


Original: Updated: