Skip to content

Commit 0d361c6

Browse files
committed
Revert "fix(core): Don't run effects in check no changes pass (angular#58250)"
This reverts commit a5fc962.
1 parent 5884153 commit 0d361c6

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

packages/core/src/render3/instructions/change_detection.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -498,9 +498,7 @@ function detectChangesInView(lView: LView, mode: ChangeDetectionMode) {
498498
if (shouldRefreshView) {
499499
refreshView(tView, lView, tView.template, lView[CONTEXT]);
500500
} else if (flags & LViewFlags.HasChildViewsToRefresh) {
501-
if (!isInCheckNoChangesPass) {
502-
runEffectsInView(lView);
503-
}
501+
runEffectsInView(lView);
504502
detectChangesInEmbeddedViews(lView, ChangeDetectionMode.Targeted);
505503
const components = tView.components;
506504
if (components !== null) {

0 commit comments

Comments
 (0)