Mastering Reactive Programming in Angular
Reactive programming helps improve your applications’ performance and allows Angular to make better use of the change detection mechanism, reducing the number of times your application needs to be re-rendered.
In this chapter, you’ll learn about reactive programming. You will learn what reactive programming is and how it can be used to improve your Angular applications. You will also learn about the RxJS library and how it can manage asynchronous data streams reactively. This chapter will teach you how to use different RxJS operators, create reusable RxJS operators, reuse sets of RxJS operators, and map other Observables into view models using RxJS.
You will also learn about Angular Signals and how Signals are used to reactively manage synchronous data streams. Lastly, you will learn how to combine RxJS and Signals, when to use RxJS, and when Signals reign supreme.
By the end of this chapter, you’ll be able to...