1.0.1 • Published 7 years ago

ng2-rx-destroyable-component v1.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
7 years ago

ng2-rx-destroyable-component

Small package with decorators and helpers which helps in managing RxJS unsubscription in easy manner (not annoying) in Angular world :)

Installation

npm i --save ng2-rx-destroyable-component

Demo

As you can see we should only decorate our component by @DestroyableComponent and after then we are able to use combined componentDestroyed helper with takeUntil operator

takeUntil

Returns the values from the source observable sequence until the other observable sequence or Promise produces a value.

More information about problem and solution

https://medium.com/pawel_giemza/the-seamless-way-to-unsubscribe-from-observables-in-angular-f59c39d9ed6c

1.0.1

7 years ago

1.0.0

7 years ago

0.3.0

7 years ago

0.2.0

7 years ago

0.1.0

7 years ago