esri-loader
A tiny library to help load ArcGIS API for JavaScript modules
... snippets below show how to load the ArcGIS API and its modules and then use them to create a map. Where you would place similar code in your application will depend on which application framework you are using. See below for examples that are specific to React, Vue.js, Angular, Ember, and example applications written in over a dozen frameworks.