I think I found a bit of a bug? or at
I think I found a bit of a bug? or at least an unintuitive DX
Here is that I am doing
In my loader, I checked the convex for the current user
But this was still returning the user, even though I am awaiting the
Adding a short sleep between the
signOut from useAuthActions returns a promise, but awaiting that promise does not guarantee the user is signed out.Here is that I am doing
In my loader, I checked the convex for the current user
But this was still returning the user, even though I am awaiting the
signOut.Adding a short sleep between the
signOut and the invalidate is a temporary workaround, but I think that if we await signOut then the user should be signed out when that promise resolves.