Persist delay on page load ? #2446
Replies: 2 comments
-
I’m having the same issue, did you manage to fix it? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Same here, the loading of localStorage should be immediate 😒 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I save the value to storage with persist. For example, when I try to get the sidebar status value in the component, the value comes with a delay of 1 second. I can't solve this problem, I don't know where am I wrong? My sample code is below;
use-sidebar.js
use-store.js
toggle-button.js
Beta Was this translation helpful? Give feedback.
All reactions