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

前端 未结 0 1399
自闭症患者
自闭症患者 2020-12-23 01:35

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:



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