You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Overview:
When a customer is using the website, we want to make sure that changes to their selection or account are properly tracked by the browser. This issue depends on #43 for determining how items are named when put into localStorage.
Action Items:
The hook deletes any previously set value in localStorage when requested
The hook updates the Context
The hook clears localStorage for all iceCreams on checkout
The hook uses JSON.stringify() and JSON.parse() to convert data to & from a string (since localStorage only supports strings)
The hook follows the [Rules of Hooks], and follows the naming convention for hooks
Overview:
When a customer is using the website, we want to make sure that changes to their selection or account are properly tracked by the browser. This issue depends on #43 for determining how items are named when put into localStorage.
Action Items:
Resources:
The text was updated successfully, but these errors were encountered: