I am developing with React x Firebase. I am checking the login user's email address authentication status with Firebase auth.
However, the value that can be obtained with "auth.currentUser.emailVerified" will not be updated unless the page is refreshed. How can I get the latest state without refreshing the page?
I've tried reload() , but when I run reload() right after login, I get an "auth/network-request-failed" error. Refresh your browser and the error should disappear.