From 42a64f8676bf8a6392022a9c1b76a875ddce1a91 Mon Sep 17 00:00:00 2001 From: Cosmin Ababei <5887290+cozmy@users.noreply.github.com> Date: Wed, 28 Apr 2021 09:13:43 +0300 Subject: [PATCH] docs: remove mention of scheduleTick in markForCheck (#41845) markForCheck doesn't call scheduleTick, thus I removed the comment which mentioned this. PR Close #41845 --- packages/core/src/render3/view_ref.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/packages/core/src/render3/view_ref.ts b/packages/core/src/render3/view_ref.ts index 8f7fdc72fa..f126dd637d 100644 --- a/packages/core/src/render3/view_ref.ts +++ b/packages/core/src/render3/view_ref.ts @@ -98,9 +98,6 @@ export class ViewRef implements viewEngine_EmbeddedViewRef, viewEngine_Int /** * Marks a view and all of its ancestors dirty. * - * It also triggers change detection by calling `scheduleTick` internally, which coalesces - * multiple `markForCheck` calls to into one change detection run. - * * This can be used to ensure an {@link ChangeDetectionStrategy#OnPush OnPush} component is * checked when it needs to be re-rendered but the two normal triggers haven't marked it * dirty (i.e. inputs haven't changed and events haven't fired in the view).