Esri / esri-loader

A tiny library to help load ArcGIS API for JavaScript modules in non-Dojo applications

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Are you using esri-loader with Angular and Zone.js?

andygup opened this issue · comments

commented

Compatibility with Zone.js was deprecated in the ArcGIS Maps SDK for JavaScript at 4.25 (November 2022) and it will be removed at 4.27 (June 2023). Zone.js does not support native async/await and we need to add this support to our AMD modules for modernization and performance reasons. The Angular team is also well aware of this limitation and has indicated they are working torwards making Zone.js optional in a future release for similar reasons. See the Angular Road Map for the latest updates.

This change only affects AMD modules, we recommend migrating to ES modules using @arcgis/core. For more information, refer to the Known Limitations section in this repo's README.