Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanholzapfel authored Oct 10, 2024
1 parent 2d4c251 commit ea03c1e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -244,8 +244,7 @@ Same as using directly, just use the method ```this.setState()``` on your elemen
Since it is cumbersome to subscribe / mutate array elements, we have array operators.

<h2> Subscribing array elements </h2>
To subscribe to a specific element in an array, you can provide a predicate function or a numeric index as part of the
```ArrayElementSelector``` interface:
To subscribe to a specific element in an array, you can provide a predicate function or a numeric index as part of the ArrayElementSelector interface:

```
type ArrayElementSelector<ArrayName, ElementType> = { array: ArrayName, get: IndexOrPredicateFunction<ElementType> };
Expand Down Expand Up @@ -355,4 +354,4 @@ this.setState(
The handler name is the ```name``` property of the cache handler.

The cache handler has to be provided when instantiating the service,
otherwise you will get an error.
otherwise you will get an error.

0 comments on commit ea03c1e

Please sign in to comment.