Verifique se o novo usuário no Firebase React

if(res._tokenResponse.isNewUser){
 // New User signed up
} else {
 // Existing user signed in
}
Tanishq Vyas