Data Persistence on Angular with Firestore after page reload
问题 How could i persist or recall on my firestore server the data once i reload page for any reason? Basically in one of the components i make request to some data which by default gets initialized on my login Service component,lets say: USER Component export class UserComponent implements OnInit { resumeAccount: UserResumeAccount = { amountInAccount: 0, allDetails: null, }; constructor( private userLogged: LoginService) {} ngOnInit(): void { this.resumeAccount.allDetails = this.userLogged