With Angular Directives, do Service subscriptions need to be unsubscribed?

前端 未结 0 1272
野趣味
野趣味 2020-12-23 01:47

Using Angular 10, I have a Directive that listens to a Service. Do I need to unsubscribe from that Observable in this scenario?

For example:



        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题