Clone this repository to start a project based on
"react-native": "0.51.1",
"react": "^16.3.0-alpha.1",
"react-native-navigation": "^2.0.0",
"react-native-ui-lib": "^3.3.32"
Check react-native-navigation
's documentation for usage details.
Download npm dependencies:
npm i -g react-native-cli
npm install
From project dir, run:
-
Build and run (this will start a simulator if not already started)
react-native run-ios
This would also start a packager if not already started
-
Set your Simulator to live reload changes
⌘
+d
(cmd
+d
) =>Enable Live Reload
-
Start an emulator
-
Build and run
react-native run-android
This would also start a packager if not already started
-
Set your Emulator to live reload changes
⌘
+m
(cmd
+m
) =>Enable Hot Reloading
To open packager manually, from project dir run:
react-native start