Summary
In this chapter, we explored the classic and reactive patterns for fetching data. We learned about the imperative way in which to manage unsubscriptions and the reactive pattern. We explained some useful RxJS operators, and also shed light on the advantages of using the reactive pattern and learned about all the technical aspects around it. We also learned about standalone components, a new edition to Angular, as well as how to create them, and what their benefits are. Lastly, we delved into the new built-in control flow introduced in Angular 17, covering its various applications, syntax, and associated benefits.
Now that we have retrieved our data as RxJS streams, in the next chapters, let’s start playing with those streams to react to user actions using RxJS streams and, consequently, build our RecipesApp
application in a reactive way. In the next chapter, we will focus on the reactive patterns for error handling and the different strategies that are available.