Forum /
Ext JS Community Forums 4.x /
Ext: 4.x Beta /
Sencha - Senior Forum Manager
Originally Posted by
westy
I notice you don't use Ext.create anywhere anymore, but instead use new.
I'm guessing it's for the performance improvement.
So, should we no longer be using create for our own classes?
What impact does this have on the build process with JSBuilder?
Yes, we save some performance by using new internally. If the class is already loaded then there is really no need for using Ext.create.
Ext JS Premium Member
Edit: Going to break out further posts into their own threads else some will never get spotted...
Ext JS Premium Member
Just to add, this bug has now bitten me, and not convinced by Evan's answer at this stage; renderTo is a config option for a component so you can't add it as a child of the component at that stage since it does not exist yet...
Sencha is used by over two million developers. Join the community, wherever you’d like that community to be
or Join Us