UNPKG

@zodiac-ui/ng-observable

Version:

Create powerful reactive components with Angular. AoT compatible and Ivy ready.

29 lines (20 loc) 1.13 kB
# NgObservable Create powerful reactive components with Angular. AoT compatible and Ivy ready. - 🚀 Observe lifecycle hooks such as `ngOnInit`, `ngOnChanges` - 🎉 Convert `@HostListener` and template events into observable streams - ✈️ Manage and observe state changes in your components and directives - ☑️ Unlock blazing performance with zoneless, observable change detection - 💥 Use `@Decorators` for all of the builtin lifecycle hooks - 🍷 Derive computed values with the `@Computed` decorator - 🚫 Escape async hell and redundant placeholder variables - 🚮 Automatically clean up subscriptions with `Stream` - 🎈 Get strongly typed changes with `TypedChanges<T>` - 👉 Extract implementation details into pure reactive functions ## Setup ```bash npm install @zodiac-ui/ng-observable ``` ## Getting Started [Read the docs](https://zodiac.repl.to/guide/ng-observable) [Read the intro](https://dev.to/michaelmuscat/create-observable-angular-components-with-ngobservable-2424) [See an example](https://zodiac.repl.to/guide/ng-observable#example)