Value is empty on initial render and sets after few milliseconds #2408
Unanswered
mahavirn
asked this question in
Bug report
Replies: 1 comment
-
|
can you create a small reproduction with https://livecodes.io/ or https://stackblitz.com/ ? |
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
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
Value is empty on initial render and sets after few milliseconds
const user = globalStore((state) => state.user);
if i console.log(user) its {} initially and after 100-200 ms the value is resolved to actual value.
Beta Was this translation helpful? Give feedback.
All reactions