The Angular Show
E043 - RxJS Operators Series Episode 2: Transformation Operators
Join us in part two of our series on RxJS Operators. As Angular developers, we rely on RxJS primary for asynchronous operations via the Observable primitive. While we can think of an Observable like a Promise, and simply subscribe, we can also take advantage of the many, many operators at our disposal for the transformation of events and data within the Observable stream.
In order to learn more about RxJS transformation operators, we invited Lara Newsom and Zack De Rose to the podcast. Lara and Zack have a wealth of knowledge in both Angular and RxJS. Lara is a software engineer at Source Allies, a technical consultancy located in Iowa; and Zack is a senior software engineer at Narwhal, where they build Nx and Nx Cloud, as well as provide Angular consulting services.
To get started, the group tackles the mapping operators, including map, pluck, scan, and reduce. They then dive into the various higher-order mapping operators, including switchMap, exhaustMap, mergeMap, and concatMap. Learning the different behaviors of each of the mapping operators is important when determining which operator to use within the pipe method. Next, the panel talks about the buffer operators, including buffer, bufferCount, and bufferTime. This then leads into discussion about the window operators, including window, windowCount, and windowTime, all of which have nothing to do with the global window variable in JavaScript when executing in the context of a browser.
This episode is jam-packed with great content, humor, and fun. Don't forget to subscribe so you can continue to join us in our journey of learning about RxJS Operators.
Lara Newson @LaraNerdsom
Zack DeRose @zackderose
Aaron Frost @aaronfrost
Jennifer Wadella @likeOMGitsFEDAY
Brian Love @brian_love