Starter boilerplate for React native using flux, rn webpack and hot reload
git clone https://github.com/OssamaZ/react-native-flux-boilerplate
mv react-native-flux-boilerplate myAwesomeApp
cd myAwesomeApp
npm install
npm run hot
run project
The starting point of your project is in the folder App, dont forget to update the webpack config file if you change this.
The babel loader is also preconfigured, so you can use full ES6 in your code ;)
When you first run 'npm run hot' you'll maybe encounter this error:
To fix this, ctrl+c in your terminal run: npm start (to run without the hot reload) after React packager ready. reload the simulator (it should work fine but without hot reload support)
Make sure you select Debug in chrome option (cmd+D)