docs(angular): add slow computations content (#6904)
parent
d73145661a
commit
5a0d23dcf1
1 changed files with 8 additions and 1 deletions
@ -1 +1,8 @@ |
||||
# 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. |
||||
|
||||
Visit the following resources to learn more: |
||||
|
||||
- [@official@Angular Official Docs - Slow Computations](https://angular.dev/best-practices/slow-computations) |
||||
- [@article@Angular Performance Optimization](https://davembush.medium.com/angular-performance-optimization-5ec630d2b8f1) |
Loading…
Reference in new issue