Get started with React Native and Redux.
- Node.js 4.x or newer
- React Native
^0.18.0
for building native apps using react - Redux
4.0.x
a predictable state container for Javascript apps - Remote Redux DevTools use Redux DevTools remotely for React Native apps.
- Babel
6.x.x
for ES6+ support - Immutable Immutable persistent data collections for Javascript
- ExNavigator a route-centric navigation built on top of React Native's Navigator
- Webpack module loader and bundler
Just clone the repo and start :
$ git clone https://github.com/LeoLeBras/react-native-redux-starter-kit.git myAwesomeApp
$ cd myAwesomeApp
$ npm i # Install Node.js components listed in ./package.json
And see Getting Started to install requirement tools.
$ npm start # or: env NODE_ENV=DEV rnws start
This will start a lightweight development server.
Open App.xcodeproj
in Xcode, build and run the project.
$ npm run android-setup-port # adb reverse tcp:8081 tcp:8080
Start your emulator or connect your device.
Cmd+D
from within the Simulator, select Debug in Chrome
from the developer menu and :
$ npm run remotedev
$ npm run build # or: env NODE_ENV=PRODUCTION rnws bundle
If you run into any issues please see the Getting Started guide for React Native before submitting an issue.