Installing Redux and preparing our project
In this recipe, we will install Redux in an empty application, and we will define the main folder structure of our bookmarks application.
How to do it...
- We need to create our application using the React Native CLI. By running the following command, we will have our initial app:
$ react-native init Bookmarks $ cd Bookmarks
- Once we have the initial app, we need to install Redux; we can do that by using
yarn. Feel free to use your favorite package manager:
$ npm i --save redux $ npm i --save react-redux
- Now let's create the folder structure for our application. First, we need to create an
srcfolder where we will have all our source code. Inside
src, we will have