Chapter 7: Transforming Streams
When dealing with streams, one of the most frequent use cases you will face is the need to transform a stream of certain values into a stream of other values. And this is what this chapter is about.
We will start by explaining the requirement that we will resolve by transforming streams. It is about implementing autosave behavior in the recipe app. Then, we will explore the imperative way of implementing this feature. Following that, we will learn the declarative pattern for doing it and study the most commonly used RxJS transformation operators for this situation.
In this chapter, we're going to cover the following main topics:
- Defining the requirement
- Exploring the imperative pattern for autosave
- Exploring the declarative pattern for autosave
- Learning about other useful higher-order mapping operators