#5 How to do Logout in React JS || Keep user logged in React || Stay Logged In || React JS || #mern

preview_player
Показать описание
Hello Guys,

Check out this amazing cloud platform:
ZEGOCLOUD SDK provides easy video call SDK, voice call SDK, live streaming SDK and chat SDK for real-time interaction.
#zegocloud #uikits #sdk #api #react

In this video I had shown that how can you logout in react JS also how to keep your user logged in until he clicks log out button.
Thank You
Solve - Login again after page refresh
#react
#solvelogin
#login #logout #mernstack
Рекомендации по теме
Комментарии
Автор

thank you sir from starting your efforts for scracth

archanasahu
Автор

Thank you so much bro, I was looking for a way to keep the user logged in, this video helped me a lot

badrishchoubey
Автор

You just gained one more subscriber with this video AWESOME..

ashatdaiya
Автор

What if you have several types of entrants and you have limited areas for each, there will be a problem in that case because you won't know which permission to return, and you are not allowed to save such a thing in the local storage.

vkpfdfs
Автор

great bro searched tons of videos but this worked for me.
here you have used class based component is there any way to use functional component?

patelaryan
Автор

but what if someone change localStorage logedin value false to true witout login ?

SudhanshuChoursiya
Автор

if we are using function instead of class in react then what to use instead of componentDidMount()

saketsinha