larkinds / recurse-randomice

A webstore for a hypothetical ice cream store that combines adjectives and nouns for silly flavors
MIT License
4 stars 2 forks source link

Feature: State Management - Create a Reducer for Toppings #52

Closed larkinds closed 1 year ago

larkinds commented 1 year ago

Overview When a user adds a topping to the cart in the Single Product Page or the Hall of Fame Page, that data should be reflected in the cart and eventually checkout. When a user edits the quantity of their selection in the cart, or deletes an item altogether, that should be reflected in the rest of the cart page. Upon navigating to checkout, all changes along the way should be reflected.

Action

Resources React's Guide to useReducer