Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

I am trying to use Google authentication for my react application, so when the page loads it opens a new tab where the user authenticates using his creds, once its valid i am using local storage to store the authentication as true and the tab closes since nothing is happening in the previous tab it won't know if the user has authenticated or not until refresh. So how can I refresh the page? Is there any way i can reload it?

question from:https://stackoverflow.com/questions/66064533/refresh-multiple-tabs-of-same-domain-in-reactjs

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
949 views
Welcome To Ask or Share your Answers For Others

1 Answer

Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...