react project init

npm config set registry https://registry.npm.taobao.org --global
npm config set disturl https://npm.taobao.org/dist --global

npm install -g yarn react-native-cli

yarn config set registry https://registry.npm.taobao.org --global
yarn config set disturl https://npm.taobao.org/dist --global

npm install -g create-react-native-app

create-react-native-app MyApp

npm start

react

npm install -g create-react-app

create-react-app jinguan

brew install yarn

yarn add styled-components

yarn add redux

yarn add react-redux

yarn start