||You need to watch out for samples, etc, based upon the older (0.4) version of DOJO.
An easy way to tell lots of samples are by looking at the require statement. dojo.widget is no longer used. Instead it is dijit.
The ESRI version does include all the components, including dojox, etc. However, some of them do not seem to work appropriately.
For example, the xd (cross-domain) stuff does not work with the ESRI build of DOJO.