So far I have found the following. Can anyone add to this please ?
ESRI's GitHub page that lists widgets and code samples
ArcGIS Online downloadable applications
ArcGIS for Local Government and the like (downloadable maps and apps)
This forum (I have just discovered and its great)
Where do you all get your widgets from and share your code for others to use ?
Are there other forums that focus on JS PI too ?