Skip to content

Commit f555a55

Browse files
cozmythePunderWoman
authored andcommitted
docs: remove mention of scheduleTick in markForCheck (#41845)
markForCheck doesn't call scheduleTick, thus I removed the comment which mentioned this. PR Close #41845
1 parent f550742 commit f555a55

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

packages/core/src/render3/view_ref.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,6 @@ export class ViewRef<T> implements viewEngine_EmbeddedViewRef<T>, viewEngine_Int
9494
/**
9595
* Marks a view and all of its ancestors dirty.
9696
*
97-
* It also triggers change detection by calling `scheduleTick` internally, which coalesces
98-
* multiple `markForCheck` calls to into one change detection run.
99-
*
10097
* This can be used to ensure an {@link ChangeDetectionStrategy#OnPush OnPush} component is
10198
* checked when it needs to be re-rendered but the two normal triggers haven't marked it
10299
* dirty (i.e. inputs haven't changed and events haven't fired in the view).

0 commit comments

Comments
 (0)