Memoization & Functional Calls in the Template
HTML-код
- Опубликовано: 10 сен 2024
- 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 - bit.ly/3J6unAe
GitHub Repo: github.com/kri... (Folder: angular_memo)
StackBlitz for Angular Signals: stackblitz.com...