Replies: 1 comment 2 replies
-
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I defined an atom using windows.localStorage, and it works very well:
but when trying to use a atomWithStorage instead, the UI seams to update twice.
Let's suppose that the local storage value for this variable is "false".
When using atomWithStorage, looks like the sidebar is collapsed and then not.
Beta Was this translation helpful? Give feedback.
All reactions