Skip to content

jarretmoses/react-native-redux-example

Repository files navigation

React Native Redux Example

Description

This is a example repo for showing how to use Redux with React Native. Everything that is important to understanding the redux setup / flow can be found in the app directory. This example makes a simple API call to the Dark Sky Api to display today's weather. Here is an article explaining the non redux way of doing something and comparing it to a redux version that is similar to the setup in this repo. Also check out the Redux docs. Enjoy and feel free to contact me with any questions :).

Pre Installation

Please follow Installing Dependencies section found here Also follow the rest of the setup for both ios and android in order to have your environment ready to run the native app on a device or xcode / android avd

Installation

$ git clone git@github.com:jarretmoses/react-native-redux-example.git
$ cd react-native-redux-example
$ yarn

Development

// For IOS
react-native run-ios

// For Android
react-native run-android

Brought to you by Jarret Moses

About

Simple example on how to use Redux with React Native

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published