You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This Supabase Auth + Tanstack start is currently half broken.
There seems to be two major problems:
In the fetchUser (__root.tsx) server function, it is returned directly data.user that cointains non-serializable values. Here it's sufficient to no return the entire object
When the page loads the getSupabaseServerClient function causes an hydration error
Additionally
In __root.tsx getSupabaseServerClient does not need to be awaited
Which project does this relate to?
Router
Describe the bug
Which project does this relate to?
Start
Describe the bug
This Supabase Auth + Tanstack start is currently half broken.
There seems to be two major problems:
Additionally
Your Example Website or App
https://tanstack.com/start/latest/docs/framework/react/examples/start-supabase-basic
Steps to Reproduce the Bug or Issue
Expected behavior
There should not be any errors with tsc when cloning the template and there should not be an hydration error when the page loads
Screenshots or Videos
No response
Platform
Additional context
No response
The text was updated successfully, but these errors were encountered: