Skip to content

Commit

Permalink
Merge pull request #24 from ngbox/docs/zoneless
Browse files Browse the repository at this point in the history
Added information about zoneless apps
  • Loading branch information
bnymncoskuner authored May 27, 2021
2 parents 9fe8a1b + 25b3feb commit 67d27dd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ Angular reactivity streamlined...
- Unlike [AsyncPipe](https://angular.io/api/common/AsyncPipe), you can use it in component classes and even in directives.
- Feels more reactive than unsubscribing on destroy (be it handled by a decorator, triggered by a subject, or done by a direct call in the lifecycle hook).
- Reduces the complexity of working with streams.
- Works in zoneless apps. (v1.1.0+)

### How it works

Expand Down Expand Up @@ -78,6 +79,7 @@ You can see other examples at links below:
- [Basic example](https://stackblitz.com/edit/ng-observe?file=src%2Fapp%2Fapp.ts)
- [Using with Angular router](https://stackblitz.com/edit/ng-observe-router?file=src%2Fapp%2Fapp.ts)
- [Using with NgRx](https://stackblitz.com/edit/ng-observe-ngrx?file=src%2Fapp%2Fapp.ts)
- [Zoneless](https://stackblitz.com/edit/ng-observe-zoneless?file=src%2Fapp%2Fapp.ts)

> **Important Note:** Do not destructure a collection created by the `ObserveFn`. Otherwise, the reactivity will be lost. Use `toValue` or `toValues` to convert elements of the collection to instances of `Observed` instead.
Expand Down Expand Up @@ -272,7 +274,6 @@ class Component {

[![volosoft](https://user-images.githubusercontent.com/34455572/115241777-dc7f6680-a129-11eb-8318-4f3c811547e8.png)](https://volosoft.com/)


<hr />

<p align="center">
Expand Down

0 comments on commit 67d27dd

Please sign in to comment.