saving user data in localstorage for chat application using MERN giving problem while using app in different tabs
after login I saved user data in localstorage to authenticate user. The problem is login from different chrome tabs for chatting, user data in localstorage after login is different but while performing some operation all tabs localstorage data is same for example
while login from different tabs user data in localstorage