I am not sure I have understood the co-existence of arcgis javascript api with the esri-leaflet library.
Can I use leaflet together with the javascript api.
For example can I have my map built with the javascript api (new esri.Map(...) ) and then add an L.esri.Dynamic layer ?
If not, I suppose I will have to choose which of the two different paths I want to follow.