Angular · Senior · Question 40 of 75

When is a plain service with signals enough instead of a state library?

Explanation

A service exposing read-only signals (asReadonly()) and methods that update them covers many apps. Add a library when cross-feature state, debugging needs or team conventions justify it.

Further reading

Problem with a question

Angular · Senior · question 40

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