https://react-native.xgqfrms.xyz/
Build Native Mobile Apps using JavaScript and React
# npm too slowly
$ npm i -g react-native-cli
# yarn (facebook)
$ yarn global add react-native-cli
$ react-native -v
# $ react-native --version
# react-native-cli: 2.0.1
$ react-native init AwesomeProject
$ cd AwesomeProject
# install
$ yarn
# $ npm i
# android simulator
$ react-native run-android
# ios simulator
$ react-native run-ios
https://github.com/xgqfrms/React-Native.git
{
"name": "react-native-app",
"version": "1.0.1",
"description": "react-native app",
"main": "index.js",
"scripts": {
"test": "test"
},
"repository": {
"type": "git",
"url": "git+https://github.com/xgqfrms/React-Native.git"
},
"keywords": [
"react",
"ract-native",
"egghead"
],
"author": "xgqfrms",
"license": "MIT",
"bugs": {
"url": "https://github.com/xgqfrms/React-Native/issues"
},
"homepage": "https://github.com/xgqfrms/React-Native#readme"
}
$ choco -V
# 0.9.9.11
# PowerShell(admin)
$ choco upgrade chocolatey -f
$ choco -V
# 0.10.3
$ choco install yarn
https://github.com/ufo-github/yarn/tree/master/Tutorials
https://yarnpkg.com/en/docs/usage
https://yarnpkg.com/en/docs/cli/
https://yarnpkg.com/en/docs/yarn-workflow