Add a comparison of this approach vs that shown in other esri webpack examples to README
tomwayson opened this issue · comments
Pros of the approach in this repo:
- you can use it w/ the angular-cli
- you can lazy load the ArcGIS API for JavaScript
Assuming #4 and #5 work the only downside I can think of w/ the approach outlined in this repo is that you don't get to write import Map from 'esri/map'
, instead you have to use the loader service as shown in the map component.