Giter Club home page Giter Club logo

test-navigation's Introduction

example-redux

A simple usage example for an app based on redux. If you're not using redux, take a look at example (without redux). The non-redux example will also include more examples of pure navigation features since we don't want to maintain two full examples. Make sure to look at it as well.

Installation - iOS

  • In the example/ folder, run npm install

Make sure you're using npm ver 3. If you normally use npm ver 2 on your system and reluctant to upgrade, you can install npm 3 alongside 2. For more details see https://github.com/wix/react-native-navigation/issues/1. In addition, redux also causes some issues with npm 2. If you have to use npm 2 on this project, fix those by running npm run fix_npm2 in your project directory after running npm install.

  • Open Measures/ios/Measures.xcodeproj in Xcode and press the play button

Folder Structure

  • src/screens/ - all your app screens, every screen is a redux connected ("smart") component
  • src/components/ - all react sub-components, they are not aware of redux ("dumb") and get everything by props
  • src/reducers/ - all of your redux goodness (reducts and their actions) goes here, all business logic should be here

test-navigation's People

Contributors

simchawe avatar

Watchers

 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.