Skip to content
This repository has been archived by the owner on Jan 26, 2021. It is now read-only.

React native boilerplate, with flux, webpack and hot loader support

Notifications You must be signed in to change notification settings

OssamaZ/react-native-flux-boilerplate

Repository files navigation

React Native Flux Boilerplate

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
PS: make sure to enable live reload and chrome debugging

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 ;)

Preview:

Preview

Issues:

When you first run 'npm run hot' you'll maybe encounter this error:

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)

Fix

Projects:

About

React native boilerplate, with flux, webpack and hot loader support

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published