I am working on a react app where users can register themselves and fill in their details. Post registration, the user can log in and add more details or edit them as per his/her need. The issue i am facing here is while testing the app on a device, the functionalities are working fine and details are getting stored too. But, when a user signs out and another user logs in, the details filled by user1 are visible in user2's account too. Nothing gets over-written, just the screen where user1 fills his details and when user2 opens the same screen with his account, the details remain uncleared.
I am not able to understand whether this is a cache issue or something else. Being totally new to react, i am not able to figure out what is going wrong