Use the ArcGIS API for JavaScript with Svelte

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:

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. esri-svelte-example - A sample web app that I put together that shows how to use esri-loader to load a map. esri-svelte-example CodeSandbox - if you want to get tinkering quickly, just click here then “Fork” and you’re instantly coding in Svelte. 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!

Written by Gavin Rehkemper on January 10, 2020

See Also