You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Overview
When a customer adds products to the cart, we want the cart to reflect those choices. Further, if a customer edits or deletes items from the cart, relevant areas of the cart and the checkout page should reflect those changes. Integrate the cart and checkout pages with state persisted in the relevant reducers, and use the dispatch/actions to allow the user to make changes.
This issue depends on #52, #51, #43, and #44 being finished before it can be implemented.
Actions
Pass the reducers’ state and dispatch function down through props
Hook up the components
Use the reducers’ state where needed
Use dispatch/actions where needed to update state
Persist/update this data with our localStorage hooks
You’ve checked that you’ve followed the Rules of Hook
larkinds
changed the title
Update State When Data Changes - Cart and Checkout
Feature: Update State When Data Changes - Cart and Checkout
Sep 11, 2023
larkinds
changed the title
Feature: Update State When Data Changes - Cart and Checkout
Feature: Update/Persist State When Data Changes - Cart and Checkout
Sep 11, 2023
Overview
When a customer adds products to the cart, we want the cart to reflect those choices. Further, if a customer edits or deletes items from the cart, relevant areas of the cart and the checkout page should reflect those changes. Integrate the cart and checkout pages with state persisted in the relevant reducers, and use the dispatch/actions to allow the user to make changes.
This issue depends on #52, #51, #43, and #44 being finished before it can be implemented.
Actions
Resources
React's Documentation on Reducers
The text was updated successfully, but these errors were encountered: