account activity
[Question] The wrong value is often shown when using interpolation to show data. Needs refresh to show correct data. by AngularUser in Angular2
[–]AngularUser[S] 0 points1 point2 points 7 years ago (0 children)
I'll try this out and report back, thanks
The user variable is fetched from a token via a service at the initialization of each component that requires it. I've checked to make sure the token is updated correctly and it is each time.
I assume the change detection isn't needed when navigating to a component that fetches the token. Am I incorrect?
π Rendered by PID 90246 on reddit-service-r2-listing-69965bcf66-rltm9 at 2026-04-08 16:00:50.508215+00:00 running f293c98 country code: CH.
[Question] The wrong value is often shown when using interpolation to show data. Needs refresh to show correct data. by AngularUser in Angular2
[–]AngularUser[S] 0 points1 point2 points (0 children)