Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(concepts): add transformation article #253

Merged
merged 2 commits into from Jan 21, 2020
Merged

Conversation

btroncone
Copy link
Owner

@btroncone btroncone commented Jan 20, 2020

@adamlubek @Barryrowe Would you be able to review the Get started transforming streams with map, pluck, and mapTo article when you have a chance? Thanks!

`clientX` and `clientY` coordinates. Or maybe you need to extract a value from a
stream of input events to perform a calculation or initiate a request. Or
perhaps you just want to extract a single property from an object, like a key
code, to perform another action down the (pipe)line. The scenarios for
Copy link
Contributor

Choose a reason for hiding this comment

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

'(pipe)line' - clever! :)

`map` operator. Finally, we will check out a few helper operators that can be
used in place of `map` should the right scenario present itself, exploring
common use cases along the way. Let's get started!

Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe worth mentioning here that there are more operators that work similarly to JS array functions like filter or reduce?

Copy link
Owner Author

Choose a reason for hiding this comment

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

Good idea, I'm going to add this as a tip callout in the next section. 👍

For a full list of transformation operators with examples, including operators
which manage mapping to more complex values such as other observables, check out
the [transformation operator section](../operators/transformation/README.md). We
will explore these topics in detail in future posts!
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe worth to mention https://www.learnrxjs.io/learn-rxjs/concepts/time-based-operators-comparison here? These are transform operators too :)

Copy link
Owner Author

Choose a reason for hiding this comment

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

Good suggestion, need to update my wording a bit to fit this in.

@adamlubek
Copy link
Contributor

Awesome article @btroncone ! really good introduction and easy to follow :)

@btroncone
Copy link
Owner Author

Thanks for the review @adamlubek!

@btroncone btroncone merged commit f3c4d23 into master Jan 21, 2020
@adamlubek
Copy link
Contributor

my pleasure @btroncone ! :)

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

Successfully merging this pull request may close these issues.

None yet

2 participants