Skip to content
This repository has been archived by the owner on Sep 10, 2022. It is now read-only.

Commit

Permalink
Fix a typo in API.md (#281)
Browse files Browse the repository at this point in the history
* Fix a typo in API.md

* Update API.md

* Update API.md
  • Loading branch information
d8660091 authored and istarkov committed Nov 28, 2016
1 parent 7404ff9 commit f4aae0a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/API.md
Original file line number Diff line number Diff line change
Expand Up @@ -749,10 +749,10 @@ setObservableConfig<Stream>({
Observables in Recompose are plain objects that conform to the [ES Observable proposal](https://github.com/zenparsing/es-observable). Usually, you'll want to use them alongside an observable library like RxJS so that you have access to its suite of operators. By default, this requires you to convert the observables provided by Recompose before applying any transforms:
```js
mapPropsStream($props => {
const $rxjsProps = Rx.Observable.from(props$)
mapPropsStream(props$ => {
const rxjsProps$ = Rx.Observable.from(props$)
// ...now you can use map, filter, scan, etc.
return $transformedProps
return transformedProps$
})
```
Expand Down

0 comments on commit f4aae0a

Please sign in to comment.