Open
Description
convex-react-query/src/index.ts
Lines 335 to 338 in 368c763
These lines are breaking SSR by causing auth errors on actions called in SSR. I am not sure why a new instance of the ConvexHttpClient is being created here, as it wipes out any auth that has been set. Then when an action that makes a check for the user is called, it will trigger any errors thrown on "not authenticated". This then causes SSR to exit and for the client to take the first render.
I replaced with the class instance and actions work perfectly in SSR now.
Metadata
Metadata
Assignees
Labels
No labels