Angular自动取消订阅RxJs
在使用 rxjs 时我们经常忘记调用unsubscribe()而导致内存泄露,很多时候你很难发现它,在RxJs官方有这样一段话: What is a Subscription? A Subscription is an object that represents a disposable resource, usually the execution of an Obser…
Angular消息通知组件ngx-notification
It is a flexible and usable component. Demo
Demo
Installation
1.You need install @flywine93/ngx-notification by npm
npm install @flywine93/ngx-notification --save2.You need install @flywine93/ngx-autounsubscrb
npm …