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
Conversation
`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 |
There was a problem hiding this comment.
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! | ||
|
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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! |
There was a problem hiding this comment.
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 :)
There was a problem hiding this comment.
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.
Awesome article @btroncone ! really good introduction and easy to follow :) |
Thanks for the review @adamlubek! |
my pleasure @btroncone ! :) |
@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!