Use the ArcGIS API for JavaScript with Svelte

svelte logo My colleague Jacob and I have really been enjoying using the Svelte JavaScript Framework while building mapping web apps with the ArcGIS API for JavaScript. Here are a few links and resources that I've collected:

  1. Svelte with the ArcGIS API for JavaScript - Rene at odoe.net eats JavaScript libraries for breakfast and was one of the first to try out the Svelte framework with the ArcGIS API for JavaScript.
  2. esri-svelte-example - A sample web app that I put together that shows how to use esri-loader to load a map.
  3. esri-svelte-example CodeSandbox - if you want to get tinkering quickly, just click here then “Fork” and you're instantly coding in Svelte.
  4. esri-svelte-basemaps-example - A sample web app that Jacob put together that shows how to create a Map component and use it multiple times within a page.

If you're planning to be at Esri Dev Summit 2020, Jacob and I will be doing a short presentation on Svelte. Look for it on your schedule!

See Also