Super Simple React Native Redux Example
Aug 29, 2017 · 1 min read
Super Simple React Native Redux Example
Original Publish Date: Tue, 29 Aug 2017 10:23:48 +0000
Inspired byhttp://blog.tylerbuchea.com/super-simple-react-redux-application-example/
In this article we explore the barest of solutions to get started with React Native + Redux. The only pre-requisite to the below is to have “create-react-native-app” installed (https://facebook.github.io/react-native/docs/getting-started.html)
Setup
create-react-native-app superSimple
cd superSimple
npm install --save redux react-reduxredux.js
App.js
Notes
- In mostcreate-react-native-app + redux tutorials that I researched, most mentioned the use ofindex.android.js orindex.ios.js to connect Redux to the React App component. These files are not automatically created by create-react-native-app so I wanted to avoid introducing them.
- The solution was to create a new “inner component” which I namedAppInner in lines 13–23 above. This component contains the JSX of the … Read more at David’s Blog

