Open
Description
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
- Run app locally
- add item to cart
- Refresh page
- see that cart is empty
CartPersistenceOnRefresh.mp4
Deliverables
- Cart is persisted when user does refresh