Hi!
The documentation states that the usePreloadedAuthQuery function is a drop-in replacement for usePreloadedQuery. However, the return signature of usePreloadedAuthQuery is following:
|
): Query["_returnType"] | null => { |
while the usePreloadedQuery doesn't have the added null return:
https://github.com/get-convex/convex-backend/blob/fcef824ddb49c81f92803d01e8859dd2fad4b7b9/npm-packages/convex/src/react/hydration.tsx#L35
Is this intentional?