Skip to content

Cart Persistence on Refresh #2

Description

@sbmsr

Description

We would like to persist a customer's cart on refresh. This means we need to store their cart in a persistent browser storage. Check out the localStorage API to build this enhancement.

How to Reproduce

  1. Run app locally
  2. add item to cart
  3. Refresh page
  4. see that cart is empty
CartPersistenceOnRefresh.mp4

Deliverables

  • Cart is persisted when user does refresh

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Difficulty: MediumA Task that can take a day to complete.enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions