Transformation Operators
Learn various ways to transform data flowing down the data stream using transformation operators.
Introduction to transformation operators
After digging through the filtering operators that enable you to perform some sort of data cleaning throughout the pipeline, you usually need to perform a more complex operation on the data flow, like transforming data from one type to another. You are already familiar with the Array.map
function in JS, which “projects” every element from the array into another type, based on the function you provide as an argument. In RxJS, the same idea applies, except that you are transforming the stream of data from one type to another. This is achieved in RxJS via the transformation operators, which we will cover in this lesson.
Get hands-on with 1400+ tech skills courses.