Angular · Middle · Question 5 of 75

How do signals improve change detection compared to plain fields?

Explanation

A signal read in a template registers the view as a consumer. When the signal changes, that view is marked dirty - even in an OnPush component - without relying on Zone.js guessing that something might have changed.

Further reading

Problem with a question

Angular · Middle · question 5

Test yourself

Take the Angular · Middle quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz