2.5 Using Redux in React Native App Part 2
In this tutorial, you will connect to Redux and obtain the state informations such as dishes, comments from there.
2.5.1 How to
1. Setting up Redux:
- (a) Update 'redux/ActionTypes.js' file (action).
- (b) Update 'redux/ActionCreators.js' file (action).
- (c) Create 'redux/dishes.js' file (reducer).
- (d) Create 'redux/comments.js' file (reducer).
- (e) Update 'redux/ConfigureStore.js' file (store).
2. Connecting to Redux:
- (a) Update 'components/MainComponent.js' file.
- (b) Update 'components/MenuComponent.js' file.
- (c) Update 'components/DishdetailComponent.js' file.
2.5.2 Screenshots