Zone.js does not support native async/await in ES2017 warning
See original GitHub issue📚 Docs or angular.io bug report
Description
We’re told to update our target to es2018
, so, after doing that, I’m getting a ton of
WARNING: Zone.js does not support native async/await in ES2017.
These blocks are not intercepted by zone.js and will not triggering change detection.
See: https://github.com/angular/zone.js/pull/1140 for more information.
…when I run tests and when I serve the application.
Reproduction Steps**
Upgrade to Angular v10, update target
in tsconfig.base.json
to es2018
Expected vs Actual Behavior**
Expected behavior would probably be to not see any sort of warning after having followed official instructions. In reality, I’m getting a warning with a linked PR to an archived repo. We could provide a better experience to our users.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:4
- Comments:11 (6 by maintainers)
Top Results From Across the Web
should I care about "Zone.js does not support native async ...
WARNING : Zone.js does not support native async/await in ES2017. These blocks are not intercepted by zone.js and will not triggering change ...
Read more >To be clear, Zone.js does support async-await when ...
One step closer a to zone-less Angular. ... To be clear, Zone.js does support async-await when downtranspiled to anything lower than ES2017.
Read more >angular/angular - Gitter
WARNING : Zone.js does not support native async/await in ES2017. so in ES2015 it may does?
Read more >Loading | Angular - EJ 2 Forums - Syncfusion
WARNING : Zone.js does not support native async/await in ES2017. These blocks are not intercepted by zone.js and will not triggering change ...
Read more >await - JavaScript - MDN Web Docs
Because await is only valid inside async functions and modules, which themselves are asynchronous and return promises, the await expression never blocks the ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Issue for zone.js not supporting async/await in ES2017 can be found here: https://github.com/angular/angular/issues/31730
How to suppress this warning? It doesn’t make sense to me, since I don’t use zone.js at all.