From 3b304219c4fda12c6734d43f4a90cb9f83c1e0c5 Mon Sep 17 00:00:00 2001 From: Younes Jaaidi Date: Fri, 10 Jun 2022 03:16:51 +0200 Subject: [PATCH] docs: use better wording (#46314) Co-authored-by: Andrew Kushnir <43554145+AndrewKushnir@users.noreply.github.com> PR Close #46314 --- aio/content/guide/change-detection-skipping-subtrees.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aio/content/guide/change-detection-skipping-subtrees.md b/aio/content/guide/change-detection-skipping-subtrees.md index 6919b274a20..6dedd31b439 100644 --- a/aio/content/guide/change-detection-skipping-subtrees.md +++ b/aio/content/guide/change-detection-skipping-subtrees.md @@ -9,7 +9,7 @@ If you are confident that a part of the application is not affected by a state c ## Using OnPush -OnPush change detection instructs Angular that to only run change detection automatically for a component subtree when: +OnPush change detection instructs Angular to run change detection for a component subtree **only** when: * The root component of the subtree receives new inputs as the result of a template binding. Angular compares the current and past value of the input with `==` * Angular handles an event _(e.g. using event binding, output binding, or `@HostListener`)_ in the subtree's root component or any of its children wether they are using OnPush change detection or not.