A tiny library to load ArcGIS Maps SDK for JavaScript AMD modules in modern JavaScript frameworks and bundlers.
Esri-loader is a small JavaScript library that facilitates loading the ArcGIS Maps SDK for JavaScript's AMD modules in applications built with modern frameworks and bundlers. It solves the problem of integrating the ArcGIS SDK, which uses Dojo's module system, into non-Dojo applications by providing a simple API to dynamically load modules from the CDN or custom URLs. This enables developers to use ArcGIS mapping capabilities without including the entire SDK in their build bundle.
Frontend and full-stack developers building mapping applications with frameworks like React, Angular, or Vue, who need to integrate ArcGIS Maps SDK functionality without adopting Dojo. It's also useful for teams working on server-side rendered applications or those prioritizing lazy loading for performance.
Developers choose esri-loader because it offers a lightweight, framework-agnostic way to integrate the ArcGIS Maps SDK with minimal configuration. It enables lazy loading for faster initial loads, works with any bundler, and provides flexibility to load specific SDK versions or custom builds, all without requiring deep Dojo expertise.
A tiny library to help load ArcGIS API for JavaScript modules in non-Dojo applications
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Dynamically injects the ArcGIS SDK script only when needed, reducing initial page load time and working with any JavaScript framework like React or Vue.
Allows loading modules from specific SDK versions, custom URLs, or local builds via setDefaultOptions(), offering deployment flexibility.
Enables use in isomorphic applications by loading modules only in browser contexts, as shown in the SSR examples.
Provides loadCss() helper to dynamically load ArcGIS stylesheets with options for overriding styles, simplifying theme integration.
The library is deprecated from SDK version 4.29 and will be retired at 4.31, meaning no future updates and limited long-term support.
Known limitation with Angular's Zone.js prevents native async/await support in AMD modules, forcing migration to @arcgis/core or off Zone.js.
Requires manual setup for loading scripts, modules, and CSS, which can be more cumbersome than using @arcgis/core ES modules directly.