Skip to content

Commit

Permalink
Merge pull request #311 from Esri/update-readme
Browse files Browse the repository at this point in the history
chore(readme): update AMD async/await  known limitation
  • Loading branch information
tomwayson committed Aug 24, 2023
2 parents a20b9c4 + 2cae6c7 commit c93b066
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,7 @@ Looking for legacy examples from a variety of frameworks, or 3.x information? Vi
## Known Limitations

<a id="known-limitations"></a>
| :warning: Angular with Zone.js compatibility deprecation |
| :---------------------------------------------------|
| Compability with frameworks that don't support native [async/await](https://developer.mozilla.org/en-US/docs/Learn/JavaScript/Asynchronous/Promises#async_and_await) in AMD modules at runtime was deprecated at 4.25 (November 2022) and will be removed at 4.27 (June 2023). In particular, this affects Angular applications using esri-loader because async/await is [not supported in Zone.js](https://angular.io/guide/roadmap#improve-runtime-performance-and-make-zonejs-optional). We are making this change to allow for performance improvements within the Maps SDK. Angular users will need to migrate from AMD modules to using [@arcgis/core ES modules](https://developers.arcgis.com/javascript/latest/es-modules/) in order to continue using the latest release of the SDK. Refer to the [FAQ](https://developers.arcgis.com/javascript/latest/faq/#how-are-breaking-changes-managed) for more information on breaking changes. |
- Compability with frameworks that don't support native [async/await](https://developer.mozilla.org/en-US/docs/Learn/JavaScript/Asynchronous/Promises#async_and_await) in AMD modules at runtime was removed at 4.27 (June 2023). In particular, this affects Angular applications using esri-loader because async/await is [not supported in Zone.js](https://angular.io/guide/roadmap#improve-runtime-performance-and-developer-experience-with-a-new-reactivity-model). Angular users that run into async/await-related issues will need to migrate off Zone.js or move from AMD modules to using [@arcgis/core ES modules](https://developers.arcgis.com/javascript/latest/es-modules/) in order to continue using the latest releases of the SDK.

## Install

Expand Down

0 comments on commit c93b066

Please sign in to comment.