Skip to content

zoneless + hybrid setup (angular 19 + AngularJs 1.8) doesn't trigger change detection #61640

Closed

Description

@Santosh-onshape

Which @angular/* package(s) are the source of the bug?

upgrade, core

Is this a regression?

No

Description

Trying to get rid of zone.js from our hybrid app (Angular 19 & AngularJs 1.8) but looks like change detection doesn't get trigger for downgraded components even when using signals inside them.
Is zoneless officially support for hybrid app setup?

Please provide a link to a minimal reproduction of the bug

https://stackblitz.com/edit/stackblitz-starters-mitowsjd?file=src%2Fmain.ts

Please provide the exception or error you saw


Please provide the environment you discovered this bug in (run ng version)

Angular CLI: 19.2.0
Node: 20.19.1
Package Manager: npm 10.8.2
OS: linux x64

Angular: 19.2.0
... animations, build, cli, common, compiler, compiler-cli, core
... forms, platform-browser, router

Package                      Version
------------------------------------------------------
@angular-devkit/architect    0.1902.0
@angular-devkit/core         19.2.0
@angular-devkit/schematics   19.2.0
@angular/upgrade             19.2.12
@schematics/angular          19.2.0
rxjs                         7.8.1
typescript                   5.8.2

Anything else?

if i'm missing any setup config please provide correct changes, i find very less documentation or support for hybrid app setups.
And those which are present not updated for while.

Thanks for providing amazing new features :)

Activity

  1. added
    area: core
    area: upgrade
    core: zoneless
    on May 23, 2025
  2. added this to the needsTriage milestone on May 23, 2025
  3. atscott commented on May 23, 2025

    @atscott
    Contributor

    So the upgrade module appears to depend on ZoneJS:

    const subscription = this.ngZone.onMicrotaskEmpty.subscribe(() => {
    let subscription = ngZone.onMicrotaskEmpty.subscribe({

    I can look into whether it's possible to change this though it likely carries some amount of risk since there's so little usage left of the upgrade adapter that it's effectively untested.

  4. added 2 commits that reference this issue on May 23, 2025
    73dd123
    b6dab3f
  5. added a commit that references this issue on Jun 19, 2025
    144c429
  6. added a commit that references this issue on Jun 19, 2025
    900cd37
  7. angular-automatic-lock-bot commented on Jul 20, 2025

    @angular-automatic-lock-bot

    This issue has been automatically locked due to inactivity.
    Please file a new issue if you are encountering a similar or related problem.

    Read more about our automatic conversation locking policy.

    This action has been performed automatically by a bot.

  8. locked and limited conversation to collaborators on Jul 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: corearea: upgradecore: zoneless

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions