9
Exploring Reactivity with RxJS
In a web application, one of the most challenging tasks is dealing with the asynchronous nature of the web. An application cannot predict when events such as requests to the backend, changing routes, and simple user interactions will happen. Imperative programming in these cases is more complex and susceptible to errors.
The RxJS library that makes up the Angular ecosystem aims to make controlling asynchronous flows simpler using declarative and reactive programming.
In this chapter, we will cover the following topics:
- Observables and operators
- Handling data – transformation operators
- Another way to subscribe – the async pipe
- Connecting information flows – high-order operators
- Optimizing data consumption – ...
Get Angular Design Patterns and Best Practices now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.