Computed signal
A computed signal is a read-only reactive value derived from other signals and recalculated when its dependencies change.
Modern Angular
The Angular computed function creates a derived read-only signal whose value is recalculated when the signals it reads change.
- How it is used
- Derives values from one or more signals while keeping data flow automatic and readable.
- How deep it goes
- Defines callback-based derivation, dependency tracking, automatic recalculation, and stored results for unchanged dependencies.
- Examples
- Uses doubled counts, sums of multiple signals, and recalculation logging to demonstrate derived values and caching.
- What you can do after
- Apply it via Angular’s computed function to build read-only derived signals without manual synchronization code.
Pro Angular 16
The computed function is an Angular API function that creates a read-only signal from a derivation function whose signal reads establish its dependencies.
- How it is used
- Derives display-ready values from application state while avoiding recalculation of unchanged values.
- How deep it goes
- Explains read-only creation, dependency tracking, lazy memoized recomputation, and a non-signal dependency pitfall through component examples.
- Examples
- Uses product categories, category filtering, pagination, product counts, CSS classes, and latest-message display.
- What you can do after
- Apply it via Angular’s `computed` function to derive repository and component values that refresh when their signal dependencies change.
What to know first
- change detectionChange detection is the process of identifying relevant differences between states or observations, often to determine what updates are needed.
- stateState is information describing the condition or configuration of a system or computation at a particular time that may influence its behavior or subsequent transitions.
- reactive programmingReactive programming is a paradigm in which computations are expressed through data flows and automatically respond to changing values or events, often arriving asynchronously.
- signalA signal is an observable value, pattern, event, or attribute that conveys information about a condition, behavior, or phenomenon.
Related concepts
- signalkind of · A signal is an observable value, pattern, event, or attribute that conveys information about a condition, behavior, or phenomenon.
- paginationused by · Pagination is the technique of dividing a collection or result set into bounded portions that can be retrieved or displayed separately.
- dependencyuses · A dependency is a component, resource, or prerequisite that another software component or activity relies on to function, build, or proceed.
- WritableSignal<T>contrasts with · WritableSignal<T> is an Angular signal whose stored value can be changed through writable operations.
Questions about computed signal
What is computed signal?
A computed signal is a read-only reactive value derived from other signals and recalculated when its dependencies change.
Which Manning books explain computed signal?
Modern Angular and Pro Angular 16.
What should I know before learning computed signal?
Manning books that teach computed signal usually introduce change detection, state, reactive programming and signal first.
What is the difference between computed signal and WritableSignal<T>?
A computed signal is a read-only reactive value derived from other signals and recalculated when its dependencies change. WritableSignal<T> is an Angular signal whose stored value can be changed through writable operations.
What is computed signal a kind of?
Computed signal is a kind of signal. A signal is an observable value, pattern, event, or attribute that conveys information about a condition, behavior, or phenomenon.
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.

