Memoization & Functional Calls in the Template

Опубликовано: 04 Февраль 2026
на канале: Angular Kenya
672
16

New developers in Angular use function calls in templates all around their application without being aware that it is not the right choice. When a senior Angular developer comes to a project he tries to rewrite everything into pipes. But is it the best option? What if we have 200 functional calls? We could use memoization/dynamic programming with some fancy decorator like @Memoize, and still use function calls in the Angular template. I want to give a presentation about memoization, what is it, and what the benefits and drawbacks are based on sync or async execution.

Resources:
Presentation Slides - https://bit.ly/3J6unAe
GitHub Repo: https://github.com/krivanek06/example... (Folder: angular_memo)
StackBlitz for Angular Signals: https://stackblitz.com/edit/angular-z...