Replies: 1 comment 8 replies
-
There's no magic behind type SyncStorage<Value> = {
getItem: (key: string) => Value
setItem: (key: string, newValue: Value) => void
} |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm eager to try out jotai but curious about persisted data changes.
What happens when I remove an
atomWithStorage
atom from the code, or rename one? Is the persisted data stuck on disk?Am I missing some way to migrate persisted data?
Am I stuck in a flux mindset and need to change the way I'm thinking this?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions