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. That’s what this chapter is about.
This chapter revolves around adding an autosave feature to our project that we will be resolving by transforming streams. We will start by explaining the autosave requirement that we will be implementing in the recipe app. Then, we will explore the imperative way of implementing this feature. After that, we will learn about the declarative pattern for doing it and study the most commonly used RxJS transformation operators for this situation.
Finally, we will delve into the different transformation operators provided by RxJS and their respective use cases, enriching our understanding through hands-on examples.
So, in this chapter, we’re going to cover the following main topics:
- Defining the autosave requirement
- Exploring the imperative pattern...