I'm tweaking the code looking to achieve a better performance. I eager load some views on Ext.application like
Code:
Ext.application({
name: 'Club',
requires: [
'Ext.MessageBox',
'Club.helper.Functions',
'Club.helper.ViewManager'
],
models:[
//'App'
],
stores:[
//'App'
],
controllers: [
],
views: [
'Access',
'Home',
'LoginConfirmationCode',
'CreateAccount'
],
launch: function() {
}
});
The views are pushed to portview immediately as soon as the application loads. Is that a good approach or should load it lazily or use other technique?