I do not understand how and when to use
require([
"dojo/_base/connect",
etc.],
function(connect) {
});
and when
dojo.require();
I have tried to use require([]) ... but nothing works.
Do I have to use this before any function???
Are there any extended examples on the net?