Skip to content

refactor(core): Add migration to add ChangeDetectionStrategy.Eager#67056

Open
JeanMeche wants to merge 1 commit intoangular:mainfrom
JeanMeche:eager-migration
Open

refactor(core): Add migration to add ChangeDetectionStrategy.Eager#67056
JeanMeche wants to merge 1 commit intoangular:mainfrom
JeanMeche:eager-migration

Conversation

@JeanMeche
Copy link
Member

…where applicable

In v22, OnPush becomes the default strategy. To maintain the ChangeDetection behavior of exisiting apps, components without an explicit change detectino strategy will get Eager assigned.

@angular-robot angular-robot bot added the area: core Issues related to the framework runtime label Feb 13, 2026
@ngbot ngbot bot added this to the Backlog milestone Feb 13, 2026
@JeanMeche JeanMeche requested a review from atscott February 13, 2026 13:59
…where applicable

In v22, `OnPush` becomes the default strategy. To maintain the ChangeDetection behavior of exisiting apps, components without an explicit change detectino strategy will get `Eager` assigned.
"factory": "./bundles/bootstrap-options-migration.cjs#migrate"
},
"change-detection-eager": {
"version": "22.0.0",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Optional: Do we want to run this in 21.2 as well?

@atscott
Copy link
Contributor

atscott commented Feb 13, 2026

I think we generally have schematics marked as "feat" but I guess it's refactor since it's not active in the main branch (21.2)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: core Issues related to the framework runtime

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants