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
Zone.js does not support native async/await (angular/zone.js#1140) as present in ES2017. This means code that happens inside async/await blocks is invisible to zone.js thus not triggering change detection.
Since this is a footgun for developer, Angular CLI should show a warning about this when ES2017 is set as the typescript target.
馃悶 Bug report
Command (mark with an
x)Is this a regression?
No.
Description
Zone.js does not support native async/await (angular/zone.js#1140) as present in ES2017. This means code that happens inside async/await blocks is invisible to zone.js thus not triggering change detection.
Since this is a footgun for developer, Angular CLI should show a warning about this when ES2017 is set as the typescript target.
馃敩 Minimal Reproduction
angular/zone.js#1140
馃敟 Exception or Error
No error, just no change detection.
馃實 Your Environment
Anything else relevant?