Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Value is empty on initial render and sets after few milliseconds #2407

Closed
mahavirn opened this issue Mar 13, 2024 · 0 comments
Closed

Value is empty on initial render and sets after few milliseconds #2407

mahavirn opened this issue Mar 13, 2024 · 0 comments

Comments

@mahavirn
Copy link

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.

@pmndrs pmndrs locked and limited conversation to collaborators Mar 13, 2024
@dai-shi dai-shi converted this issue into discussion #2408 Mar 13, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant