-
Notifications
You must be signed in to change notification settings - Fork 26.6k
fix(core): Remove ignoreChangesOutsideZone option #62700
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
06a5cd6
to
6deaf23
Compare
This option was introduced out of caution as a way for developers to opt out of the new behavior in v18 which scheduled change detection even when events happened outside the NgZone. After monitoring the results post-release, we have determined that this feature is working as desired and do not believe it should ever be disabled by setting this option to `true`. This option was deprecated in v18.2, less than 3 months after it was introduced in v18. We do not really expect it to be used. BREAKING CHANGE: `ignoreChangesOutsideZone` is no longer available as an option for configuring ZoneJS change detection behavior.
6deaf23
to
65dbd07
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
reviewed-for: public-api
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
reviewed-for: public-api
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
reviewed-for: public-api
This PR was merged into the repository. The changes were merged into the following branches:
|
This option was introduced out of caution as a way for developers to opt out of the new behavior in v18 which scheduled change detection even when events happened outside the NgZone. After monitoring the results post-release, we have determined that this feature is working as desired and do not believe it should ever be disabled by setting this option to
true
.This option was deprecated in v18.2, less than 3 months after it was introduced in v18. We do not really expect it to be used.
BREAKING CHANGE:
ignoreChangesOutsideZone
is no longer available as an option for configuring ZoneJS change detection behavior.