Is there any way to prevent useSession returning undefined on page reload? #4536
Answered
by
ta-vroom
khaiyuanyap
asked this question in
Help
-
My current solution is to use useTimeout to delay the UI displaying the user profile. |
Beta Was this translation helpful? Give feedback.
Answered by
ta-vroom
May 10, 2022
Replies: 1 comment
-
I'm new to Next.JS, but I think you need to use server side rendering and do something like this:
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
khaiyuanyap
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm new to Next.JS, but I think you need to use server side rendering and do something like this: