Detect changes INTO http post subscribe

8 views
Skip to first unread message

Raffaella Sinisi

unread,
Nov 16, 2019, 12:03:31 PM11/16/19
to Angular and AngularJS discussion
Hi,
In ngonInit method i have a post http and into Subscribe i change value of variable component with value from header Response. Why thé value of variable component is Not updated?


There's another scenario with route parameter. I read the value from route with snapshot subscribe and set variable component. but this value is not updated into component variable.why? In ngOnInit method too.
Reply all
Reply to author
Forward
0 new messages