In this recipe, we'll install Redux in an empty application, and we'll define the basic folder structure of our app.
Installing Redux and preparing our project
Getting started
We'll need a new empty app for this recipe. Let's call it redux-app.
We'll also need two dependencies: redux for handling state management and react-redux for gluing together Redux and React Native. You can install them from the command line with yarn:
yarn add redux react-redux
Or you can use npm:
npm install --save redux react-redux
How to do it...
- As part of this recipe...