Page flashing before redirecting and getting the token to use with requests #333
Answered
by
kmjennison
Nikola-Milovic
asked this question in
Q&A
-
Hello everyone, got two questions about this library. Already integrated it into my project and it works great.
But I don't use server side rendering anywhere, so can I just add it in?
As I'd need the token in this kind of request
|
Beta Was this translation helpful? Give feedback.
Answered by
kmjennison
Nov 4, 2021
Replies: 1 comment
-
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Nikola-Milovic
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
whenUnauthedBeforeInit
toAuthAction.SHOW_LOADER
, which will always show the loader component prior to Firebase initializing on the client. A third option is to let the page render but include conditional render logic in your page based on the AuthUser (e.g., show a blank page until the AuthUser is set).