Auto-unsubscribe an observable on destroy

后端 未结 0 1901
北海茫月
北海茫月 2020-12-31 05:12

This is my solution for automatically unsubscribing an observable, adding the @TakeUntilDestory decorator to the component that uses it

https://stackblitz.com/edit/ta

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