Angular · Senior · Question 68 of 75

When does effect beat computed, and when is it a smell?

Explanation

Derived values should be computed or linkedSignal, which stay consistent and lazy; effects writing signals cause extra cycles.

Further reading

Problem with a question

Angular · Senior · question 68

Test yourself

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

Take this quiz