Skip to content

fix(upgrade): Make zoneless work with hybrid apps #61660

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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

atscott
Copy link
Contributor

@atscott atscott commented May 23, 2025

Hybrid applications trigger a digest when onMicrotaskEmpty emits so that the AngularJS app can run its lifecycle when the Angular app does. For ZoneJS applications, this is effectively after every render/app tick. This change updates the code to use afterEveryRender instead.

fixes #61640

Hybrid applications trigger a digest when `onMicrotaskEmpty` emits so
that the AngularJS app can run its lifecycle when the Angular app does. For
ZoneJS applications, this is effectively after every render/app tick. This change
updates the code to use `afterEveryRender` instead.

fixes angular#61640
@angular-robot angular-robot bot added the area: upgrade Issues related to AngularJS → Angular upgrade APIs label May 23, 2025
@ngbot ngbot bot added this to the Backlog milestone May 23, 2025
@atscott atscott added the target: rc This PR is targeted for the next release-candidate label May 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: upgrade Issues related to AngularJS → Angular upgrade APIs target: rc This PR is targeted for the next release-candidate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

zoneless + hybrid setup (angular 19 + AngularJs 1.8) doesn't trigger change detection
1 participant
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy