-
Notifications
You must be signed in to change notification settings - Fork 3
Add Redux Cart Logic #41
Copy link
Copy link
Open
Labels
Description
gabriel-flynn
opened on Sep 3, 2020
Issue body actions
- We want the id field in the cart reducer/store to be a set instead of an array
- Add to cart should add the id to the set
- Remove from cart should remove the id from the set
- We want to create an action that looks at the ids in our cart store/reducer and then filter out the data in our table (the tableData field) to match the ids that are contained in the set
Reactions are currently unavailable