Giter VIP home page Giter VIP logo

react-native-example's Introduction

 _____         _ _         
|  _  |___ _ _| |_|___ ___ 
|     |   | | | | |   | -_|
|__|__|_|_|_  |_|_|_|_|___|
          |___|            

React-Native Redux Boilerplate

A lightweight React-Native Redux Boilerplate with ready to use modern technologies. This Repo provides you a good state of the art start for your next React-Native project.

Getting Started

  1. Check the React Native - Get Started Guide
  2. Clone this project
  3. Run npm install from root directory
  4. Run react-native start for the packager running
  5. Start your platform react-native run-android or react-native run-ios (or which fancy output you want to).

Technologies

Tech Summary
React-Navigation Learn once, navigate anywhere
Redux Redux is a predictable state container for JavaScript apps.
ImmutableJS Immutable persistent data collections for Javascript which increase efficiency and simplicity.
Styled Components Utilising tagged template literals (a recent addition to JavaScript) and the power of CSS, styled-components allows you to write actual CSS code to style your components.
Babel Use next generation JavaScript, today.
EsLint / Code Style Guide We're using Airbnb's JS/React Style Guide with ESLint linting.

Understanding the File Structure

  • /android - The native Android stuff
  • /ios - The native iOS stuff
  • /src - Contains the React-Native Stuff
    • /assets - Self explanatory right?
    • /components - 'Dumb-components'
    • /containers - 'Smart-components'
      • actions - dispatched actions triggered by the UI for state manipulations
      • constants - the type for state changes
      • reducers - state manipulations
    • /configs - Everything you have to outsource
    • /util - Utils, for your own good
    • /screens - All your screens
    • /store - Where your state happens
      • combineReducers - Combining all your reducers from every container
      • configureStore - applying your MiddleWares to the state

reference: https://github.com/Anyline/react-native-redux-boilerplate.git

react-native-example's People

Contributors

vidukapoor 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.