DEV Community

Mahmoud Mohamed
Mahmoud Mohamed

Posted on • Updated on

Store user in localstorge after login

I store the user in localstorge after logging in to the site so that I can use it to make conditions render and so that I do not need to fetch data from the server every time. Is this correct? Please help.With user knowledge. There is not everything related to the user, such as phone, location, and email

Is this correct or is this the wrong way?

Top comments (0)