139. An Important Note about Route Observables
2:42
2 Cynhadledd
2 Pennawd
64 segmentau
Cynhadledd
Pennawd
-
0:02
In the last lecture, we learned how we can subscribe to our params to update them or to react to any changes to them and update our page if we already are on that page. And we set up this subscription using observables and this works fine a…
-
1:04Pennawd 2: Now, it will be here because Angular handles this destroying of the subscription for you. 95s · Speaker 1
Now, it will be here because Angular handles this destroying of the subscription for you. But theoretically, you might want to implement the onDestroy lifecycle hook, importing it from atAngularCore, Therefore, you have to implement ng on d…