armand1m / armand1m/react-firebase-authentication-medium

User is not set correctly on the first rendering

Open
#5 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
36
Forks
19
PR merge metrics
No merged PRs in 30d

Description

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 `` component when the user is signed in and `` component otherwise, then `` will be rendered momentarily and only then the page will be re-rendered to display `SignedIn`. See also [my question on StackOverflow](https://stackoverflow.com/questions/68407958/firebase-user-is-not-set-on-the-first-rendering).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.