I am encountering a problem with localStorage. After storing user information in localStorage, I am unable to retrieve it without using the __zone_symbol__value property of the parsed value.
This is how I store data into locaStorage
localStorage.setItem('user', JSON.stringify(data));
And this is how I retrieve user information
this.user = JSON.parse(localStorage.getItem('user')).__zone_symbol__value;
Is there a way to retrieve user information without relying on the __zone_symbol__value property?