Well i am trying to update/edit user it updates fine on API.
I have this click event
onSubmit() {
this.service.updateUser(this.user)
this.router.navigate(['/users']);
}
But it doesn't update on UI in my interpolated values. It only updates after i manually refresh the page
So the question how do i force to reload my component, without refreshing the whole page? location.reload()
I was looking for some solution like this, but it didnt't worked for me
this.router.navigateByUrl('/RefrshComponent' {skipLocationChange:true}).then(()=>
this.router.navigate(["Your actualComponent"]));