Skip to content

Memoization

Memoization caches the results of expensive computations and returns cached results when the same inputs occur again.

NgRx selectors are memoized — they only recompute when their inputs change.

Pure pipes only recompute when input references change, providing implicit memoization.

Memoization prevents redundant computation, improving application performance.”