Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. ArcGIS Developer
  3. esri-loader

esri-loader

Apache-2.0TypeScriptv3.7.0

A tiny library to load ArcGIS Maps SDK for JavaScript AMD modules in modern JavaScript frameworks and bundlers.

GitHubGitHub
461 stars80 forks0 contributors

What is esri-loader?

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.

Target Audience

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.

Value Proposition

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.

Overview

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

Use Cases

Best For

  • Integrating ArcGIS maps into React, Angular, or Vue applications
  • Lazy loading mapping functionality to improve initial page performance
  • Using ArcGIS SDK in server-side rendered (SSR) applications
  • Loading ArcGIS modules from a custom hosted build or specific CDN version
  • Applications that make limited use of ArcGIS SDK and want to avoid bundling it
  • Prototyping ArcGIS integration quickly with framework-agnostic tools

Not Ideal For

  • New projects using ArcGIS SDK 4.29 or later
  • Angular applications that rely on Zone.js for async/await
  • Teams wanting direct ES module imports for better build tool integration

Pros & Cons

Pros

Framework-Agnostic Lazy Loading

Dynamically injects the ArcGIS SDK script only when needed, reducing initial page load time and working with any JavaScript framework like React or Vue.

Version and URL Control

Allows loading modules from specific SDK versions, custom URLs, or local builds via setDefaultOptions(), offering deployment flexibility.

Server-Side Rendering Support

Enables use in isomorphic applications by loading modules only in browser contexts, as shown in the SSR examples.

CSS Management Utilities

Provides loadCss() helper to dynamically load ArcGIS stylesheets with options for overriding styles, simplifying theme integration.

Cons

Deprecated and Retiring

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.

Angular Async/Await Incompatibility

Known limitation with Angular's Zone.js prevents native async/await support in AMD modules, forcing migration to @arcgis/core or off Zone.js.

Configuration Complexity

Requires manual setup for loading scripts, modules, and CSS, which can be more cumbersome than using @arcgis/core ES modules directly.

Frequently Asked Questions

Quick Stats

Stars461
Forks80
Contributors0
Open Issues0
Last commit2 years ago
CreatedSince 2016

Tags

#web-mapping#arcgis#geospatial#amd-modules#dojo#framework-integration#arcgis-api#javascript#angular#rollup#mapping#preact#react#lazy-loading#module-loader#cdn#javascript-sdk#ember#webpack

Included in

ArcGIS Developer314
Auto-fetched 12 hours ago

Related Projects

esri-loader-hooksesri-loader-hooks

Custom React hooks for using the ArcGIS API for JavaScript with esri-loader.

Stars28
Forks13
Last commit3 months ago
react-sceneviewreact-sceneview

React component that wraps the ArcGIS JS API 4.x SceneView

Stars11
Forks4
Last commit5 years ago
geojson-random-generatorgeojson-random-generator

Generate and download random geojson quickly for testing

Stars5
Forks1
Last commit4 years ago
mercator-geographic-convertermercator-geographic-converter

Simple coordinates converter from Geographic units (latitude, longitude) to Mercator units (x, y)

Stars3
Forks0
Last commit5 years ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub