liveBook · Manning

WritableSignal<T>

WritableSignal<T> is an Angular signal whose stored value can be changed through writable operations.

How 2 Manning books explain it

Pro Angular 16

A writable signal is an Angular signal whose value can be changed directly through writable operations.

How it is used
Represents mutable application state and drives updates to related Angular template values.
How deep it goes
Explains creation, reading, set, update, mutate, and asReadonly, then stops short of broader signal internals.
Examples
Demonstrates a toggled index, product data repository, and shopping cart with incrementally modified selections.
What you can do after
Build mutable Angular state, update it with named writable methods, and expose controlled read-only views.

Read how Pro Angular 16 explains WritableSignal<T> →

Modern Angular

A writable signal is an Angular signal whose stored value can be changed directly through its write operations.

How it is used
Uses WritableSignal<T> for directly controlled local or service state while reserving derived and observable-backed signals for read-only values.
How deep it goes
Explains typing, invocation, mutability boundaries, and readonly exposure, but does not detail every write operation's implementation.
Examples
Uses numeric and string-array signals, private service state, and a time-off request filter.
What you can do after
Evaluate and apply WritableSignal<T> by typing state, reading it through invocation, and controlling consumer access with asReadonly().

Read how Modern Angular explains WritableSignal<T> →

Related concepts

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.