DEV Community

Discussion on: Understanding MVC-Services for Frontend: VanillaJS

Collapse
 
webdevken profile image
Web Dev Ken • Edited

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.