Giter Club home page Giter Club logo

react-native-redux-starter-kit's Introduction

react-native-redux-starter-kit

Dependency Status devDependency Status

Get started with React Native and Redux.

Requirements

  • Node.js 4.x or newer

Stack

  • 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

Getting started

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.

How to use ?

$ npm start                     # or: env NODE_ENV=DEV rnws start

This will start a lightweight development server.

iOS:

Open App.xcodeproj in Xcode, build and run the project.

Android:
$ npm run android-setup-port    # adb reverse tcp:8081 tcp:8080

Start your emulator or connect your device.

Redux DevTools

iOS:

Update src/scripts/configStore.jsx:

+ import devTools from 'remote-redux-devtools';

+ if(__DEV__) {
+     cs = compose(
+         devTools({
+             name: 'Redux DevTools',
+             hostname: 'localhost',
+             port: 5678
+         })
+     )(createStore);
+ }

Cmd+D from within the Simulator, select Debug in Chrome from the developer menu and :

$ npm run remotedev

Bundling for release

$ npm run build                # or: env NODE_ENV=PRODUCTION rnws bundle

Issues

If you run into any issues please see the Getting Started guide for React Native before submitting an issue.

react-native-redux-starter-kit's People

Contributors

leolebras avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.