react native redux demo
这是React Native 集成Redux和GraphQL的starter。目前正在面向多端开发进行改造~~~
git clone https://github.com/okoala/react-native-redux-starter.git
cd react-native-redux-starter
npm install
npm run dev
open ./ios/react_native_redux_starter.xcodeproj
需要在Chrome浏览器中进行调试,按 Cmd+D 然后点击 Debug in Chrome. 最后按 Cmd+R 刷新模拟器.
npm run bundle
修改 AppDelegate.m 加载本地的 main.jsbundle.
- React Native
- Redux
- GraphQL
- Webpack
- Hot Reload
- Express