Wishlist
The wishlist is persisted locally in AsyncStorage — no API calls are needed. Items are stored as{ productId, addedAt } pairs.
Usage
Hook API
Service API
How It Works
- Initialized from AsyncStorage when
StackfrontProvidermounts - All mutations update in-memory state and persist to AsyncStorage
isInWishlistis synchronous — no async check needed- The wishlist is tied to the device, not the customer account