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

Fix a typo in API.md #281

Merged
merged 3 commits into from
Nov 28, 2016
Merged

Fix a typo in API.md #281

merged 3 commits into from
Nov 28, 2016

Conversation

d8660091
Copy link
Contributor

No description provided.

@@ -749,7 +749,7 @@ 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 => {
mapPropsStream(props$ => {
const $rxjsProps = Rx.Observable.from(props$)
// ...now you can use map, filter, scan, etc.
return $transformedProps
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The same ;-) could you also please

@@ -749,7 +749,7 @@ 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 => {
mapPropsStream(props$ => {
const $rxjsProps = Rx.Observable.from(props$)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And the same for rxjsProps

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right, I can fix it.

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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The same for transformedProps as we use Finnish notation ;-)

@istarkov
Copy link
Contributor

Thank you! It's hard to see such typos.

@istarkov istarkov merged commit f4aae0a into acdlite:master Nov 28, 2016
@d8660091
Copy link
Contributor Author

Thank you for having me :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants