Skip to content
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

User is not set correctly on the first rendering #5

Open
mgoldenbe opened this issue Jul 16, 2021 · 0 comments
Open

User is not set correctly on the first rendering #5

mgoldenbe opened this issue Jul 16, 2021 · 0 comments

Comments

@mgoldenbe
Copy link

mgoldenbe commented Jul 16, 2021

When the user is signed in, if I refresh the page, user is not set correctly for the first rendering. So, if we render the <SignedIn> component when the user is signed in and <NotSignedIn> component otherwise, then <NotSignedIn> will be rendered momentarily and only then the page will be re-rendered to display SignedIn. See also my question on StackOverflow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant