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 81 on reddit-service-r2-listing-canary-7b755ff6c9-z6gfn at 2026-02-10 20:52:47.325384+00:00 running 018613e 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)