AnsweredAssumed Answered

Best method using ESRI Loader for click events

Question asked by on Jul 23, 2018
Latest reply on Jul 24, 2018 by agup-esristaff

I am following the ESRI Loader example found here


const [EsriMap, EsriMapView, Point] = await loadModules([


My question is: what is the preferred method to load Esri Modules that will be used in other methods; for example in a click event handler.


Should the modules all be loaded at initialization?  

What is the best way to make modules available to other methods in the class?

Should the modules be loaded in each method?