-
I have an atomFamily, and I can track the list of keys with another atom that I'd like to persist, and I'm concerned that if I accidentally make a bug, then users will have atom data persisted forever. I guess I can manually traverse indexeddb, and force a page refresh but that doesn't seem as elegant as simply some kind of "keys" function on the family |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Oh I realised that I need to traverse the indexeddb if I delete an atom from my app anyways, so I guess I need to manually traverse the store anyways |
Beta Was this translation helpful? Give feedback.
-
But the question is still valid and I realise it's more fundamental. Like can you delete an atom in an atomFamily? |
Beta Was this translation helpful? Give feedback.
Oh I realised that I need to traverse the indexeddb if I delete an atom from my app anyways, so I guess I need to manually traverse the store anyways