You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a known issue and being adressed in v18 with the new hybrid change detection scheduling. The new feature is opt-out, meaning by default every v18 apps will trigger CD on signal update even when happening outside the zone.
The opt-out to return to pre-v18 behavior will be accessible via provideZoneChangeDetection({ ignoreChangesOutsideZone: true }).
You can already try this is the latest pre-release.
This is a known issue and being adressed in v18 with the new hybrid change detection scheduling. The new feature is opt-out, meaning by default every v18 apps will trigger CD on signal update even when happening outside the zone.
The opt-out to return to pre-v18 behavior will be accessible via provideZoneChangeDetection({ ignoreChangesOutsideZone: true }).
You can already try this is the latest pre-release.
sorry to bother you then, I tried to search first but couldn't see a reported issue about it
Which @angular/* package(s) are the source of the bug?
zone.js
Is this a regression?
No
Description
when updating signal outside of Angular zone, it doesn't reflect in the Angular app which produce very hard to debug bugs
Please provide a link to a minimal reproduction of the bug
https://stackblitz.com/edit/stackblitz-starters-amkub7?file=src%2Fmain.ts
Please provide the exception or error you saw
Please provide the environment you discovered this bug in (run
ng version
)Anything else?
workaround is to run effect that does nothing but read the signal fixes the problem
this error happen in both default and push detect changes strategy
The text was updated successfully, but these errors were encountered: