You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: aio/content/guide/change-detection-skipping-subtrees.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -59,7 +59,7 @@ As an example, in the diagram below, Angular handles an event in `LoginComponent
59
59
60
60
## New inputs to component with OnPush
61
61
62
-
Angular will run change detection within a child component with `OnPush` setting an input property as result of a template binding.
62
+
Angular will run change detection within a child component with `OnPush`when setting an input property as result of a template binding.
63
63
64
64
For example, in the diagram below, `AppComponent` passes a new input to `MainComponent`, which has `OnPush`. Angular will run change detection in `MainComponent` but will not run change detection in `LoginComponent`, which also has `OnPush`, unless it receives new inputs as well.
0 commit comments