DEV Community

Discussion on: Understanding MVC-Services for Frontend: VanillaJS

webdevken profile image
Web Dev Ken • Edited on

Another remark is that the id in the user class gets always re generated, even after reading an existing user from the local storage. So you can't rely on a particular user in this case.