Task Description: Implement logic with Redux
The following requirements must be met:
-
Intall dependencies:
- You need to install
redux and react-redux. If you work without Redux Toolkit, you need to install redux-thunk. To work with Redux Toolkit, install @reduxjs/toolkit.
-
** Prepare your app to work with Redux**:
- Need to create
store and provide it to your app.
-
** Move your states and methods to redux**:
- Need to move your states and methods to redux. Create
reducer for theme and another one for products, product details and pagination.
Additional Task (Optional):
- **Showing filtered and full products amount **:
Acceptance Criteria for 1
Acceptance Criteria for 1*
Task Description: Implement logic with Redux
The following requirements must be met:
Intall dependencies:
reduxandreact-redux. If you work without Redux Toolkit, you need to installredux-thunk. To work with Redux Toolkit, install@reduxjs/toolkit.** Prepare your app to work with Redux**:
storeand provide it to yourapp.** Move your states and methods to redux**:
reducerforthemeand another one forproducts, product details and pagination.Additional Task (Optional):
Need to implement next logic
Total amount of products:Filtered amount of products:Acceptance Criteria for
1Acceptance Criteria for
1*