react-query-firebase / auth / useAuthStateReady
Function: useAuthStateReady()
ts
function useAuthStateReady(): boolean
Defined in: src/auth/useAuthStateReady.ts:9
A custom hook that determines if the Firebase authentication state is ready. It uses Firebase authentication to check if the auth state is ready and updates the state accordingly.
Returns
boolean
Indicates whether the authentication state is ready.