10 Angular reactivity and signals
This chapter covers
- Understanding the way that Angular responds to changes
- Using the new Angular Signals feature to describe data relationships
- Using writable signals and computed signals for efficient change detection
- Using signals with observable sequences of values
In this chapter, I explain how Angular responds to changes in the application state to update the HTML presented to the user. I describe the approach that Angular has conventionally used and introduce a new feature, called signals, which can be used to make dealing with changes more efficient. Table 10.1 puts data and reactivity in context.
Table 10.1. Putting reactivity in context
Question | Answer |
What is it? | Change detection ... |
Get Pro Angular 16 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.