Summary
In this chapter, we began by illustrating the traditional, imperative approach to implementing the autosave feature in our recipe app. However, we soon encountered limitations with this method. We highlighted these problems before exploring a more reactive pattern to address these challenges.
Then, we delved into higher-order Observables and higher-order mapping operators, learning how the concatMap
operator works and how it can help us implement the autosave requirement in the Recipe app reactively.
Additionally, we expanded our exploration to include other strategies, namely the merge
, switch
, and exhaust
higher-order mapping operators. We explained their functionality by using practical examples and use cases to gain a deeper understanding of these concepts.
In the next chapter, we will explore another useful reactive pattern that allows you to share data between your components. As usual, we will demystify the concepts and then learn the reactive way to do it.
...