I am using custom storage for cart, wishlist and so on. I need to clear specific storage “wishlist”.How to achieve that? storage.clear(); seems to clear all storage.
Try using storage.remove(key)
method for remove particular storage.
ex. storage.remove('wishlist')
1 Like