Slow Computations
Last updated
What is Slow Computations?
On every change detection cycle, Angular synchronously evaluates all template expressions in components based on their detection strategy and executes the ngDoCheck, ngAfterContentChecked, ngAfterViewChecked, and ngOnChanges lifecycle hooks. To remove slow computations, you can optimize algorithms, cache data with pure pipes or memoization, and limit lifecycle hook usage.
Free resources to learn Slow Computations
- Official docsSlow Computations
- ArticleAngular Performance Optimization
More in stage 24: Internationalization
Slow Computations: common questions
Can I learn Slow Computations in Hindi?
This lesson is written in English. Once you sign in, open it in the interactive course and ask the AI tutor to explain Slow Computations in Hindi or Hinglish. The tutor answers from this lesson’s own text, so it stays on the syllabus, and it runs on your own Google, OpenAI or Anthropic key.
Is this Slow Computations tutorial for beginners?
It is lesson 142 of 158 in the free Angular roadmap, in stage 24, Internationalization. If you are new to Angular, start from stage 1 and come back here in order; if you already know the earlier stages, this lesson stands on its own.