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...
Смотрите видео Memoization & Functional Calls in the Template онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Angular Kenya 09 Март 2023, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 589 раз и оно понравилось 15 людям.