mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
docs: fix linting errors in change detection guide (#47324)
PR Close #47324
This commit is contained in:
committed by
Andrew Kushnir
parent
58fd2dccdc
commit
577673dcf7
@@ -1,6 +1,6 @@
|
||||
# Angular change detection and runtime optimization
|
||||
|
||||
**Change detection** is the process through which Angular checks to see whether your application state has changed, and if any DOM needs to be updated. At a high level, Angular walks your components from top to bottom, looking for changes. Angular runs its change detection mechanism periodically so that changes to the data model are reflected in an app’s view. Change detection can be triggered either manually or through an asynchronous event (for example, a user interaction or an XHR completion).
|
||||
**Change detection** is the process through which Angular checks to see whether your application state has changed, and if any DOM needs to be updated. At a high level, Angular walks your components from top to bottom, looking for changes. Angular runs its change detection mechanism periodically so that changes to the data model are reflected in an application’s view. Change detection can be triggered either manually or through an asynchronous event (for example, a user interaction or an XMLHttpRequest completion).
|
||||
|
||||
Change detection is a highly optimized performant, but it can still cause slowdowns if the application runs it too frequently.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user