Skip to content

Add Redux Cart Logic #41

@gabriel-flynn

Description

@gabriel-flynn
  • 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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions