Skip to content

This repository contains several Redux and Redux Recompose examples for React Native, developed across several blog entries at www.julioecheverri.com

License

Notifications You must be signed in to change notification settings

LoadCode/react-native-redux-examples

Repository files navigation

React Native Redux Examples

This repository contains the implementation of a simple React Native application developed across several blog entries at julioecheverri.com.

The content of this repository is mainly intended to illustrate some basic skills on configuring, managing, persisting and monitoring a simple Redux state on our React Native Application.

The Application

The app we develop in this repository consists on a counter that increases or decreses its value based on two buttons that the user can press at any time (see UI below).

React Native Counter App

The app works this way:

Counter App Working

This implements the following branching rules:

  • Each branch implements a specific feature/tutorial from julioecheverri.com.
  • All branches in this repo are related to Redux and they are respectively linked in the corresponding julioecheverri.com post.
  • The main branch keeps the latest changes in the repository, i.e. the most advanced version of the example app is found in this branch.

Branches description

  • adding-redux:

    In this branch we add redux, redux-recompose and react-redux to our newly created React Native (Typescript) project. In this branch the app implements a basic counter that increase/decrease based on two buttons that dispatch a basic action to Redux and updates the counter.
  • module-resolver:

    In this branch we add babel-plugin-module-resolver to the project and update the settings and the import notation in source files.
  • redux-reactotron:

    In this branch we install and configure Reactotron to monitor the Redux state and log info from the app.
  • redux-persistence:

    In this branch we configure and manage Redux state persistence in the device's filesystem using async-storage and reedux-persist.

Copyright Julio César Echeverri Marulanda

About

This repository contains several Redux and Redux Recompose examples for React Native, developed across several blog entries at www.julioecheverri.com

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published