Trying better auth + Convex and Nextjs. There seems to be an issue with usePreloadedAuthQuery when compared to usePreloadedQuery.
I fetch data in a server component using preloadAuthQuery and then use usePreloadedAuthQuery on the client component. During hydration, usePreloadedAuthQuery briefly returns undefined, causing a visible flash of empty content before data reappears. This doesn't happen with the standard usePreloadedQuery from convex/react — it hydrates synchronously with no flash.
My setup passes initialToken to ConvexBetterAuthProvider and all pages are auth-protected server-side via isAuthenticated(), so the client has a valid token from the first render. Is this expected behavior or a bug?