We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
@nuxtjs/supabase: 1.5.0 nuxt: 3.16.1
To follow if requested.
Client will not have user value because the session/token is now invalid.
Client has user value.
The server plugin both use from the sdk:
getSession()
useSupabaseSession()
getUser()
useSupabaseUser()
The client plugin both uses getSession() for:
(can be seen here)
which according to the Supabase docs is not recommended.
Regardless of the Supabase recommendation, it's still not the populated the same way as server state.
I might even add not to populate it manually on client side and just handle the updates.
useState() should already share state from server to client.
useState()
the server plugin already had it done correctly.
the client plugin should just handle the future updates.
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Uh oh!
There was an error while loading. Please reload this page.
Version
@nuxtjs/supabase: 1.5.0
nuxt: 3.16.1
Reproduction Link
To follow if requested.
Steps to reproduce
What is Expected?
Client will not have user value because the session/token is now invalid.
What is actually happening?
Client has user value.
The server plugin both use from the sdk:
getSession()
foruseSupabaseSession()
(can be seen here)getUser()
foruseSupabaseUser()
(can be seen here)The client plugin both uses
getSession()
for:useSupabaseSession()
useSupabaseUser()
(can be seen here)
which according to the Supabase docs is not recommended.
Regardless of the Supabase recommendation, it's still not the populated the same way as server state.
I might even add not to populate it manually on client side and just handle the updates.
useState()
should already share state from server to client.the server plugin already had it done correctly.
the client plugin should just handle the future updates.
The text was updated successfully, but these errors were encountered: