Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13

Thread: First impressions

  1. #11
    Sencha User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,050
    Vote Rating
    1381
      0  

    Default

    Quote Originally Posted by westy View Post
    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.
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Frontend Engineer
    ________________
    Need any sort of Ext JS help? Modus Create is here to help!

    Check out my GitHub:
    https://github.com/mitchellsimoens

  2. #12
    Sencha Premium User westy's Avatar
    Join Date
    Feb 2009
    Location
    Bath, UK
    Posts
    1,026
    Vote Rating
    108
      0  

    Default

    Edit: Going to break out further posts into their own threads else some will never get spotted...
    Product Architect
    Altus Ltd.

  3. #13
    Sencha Premium User westy's Avatar
    Join Date
    Feb 2009
    Location
    Bath, UK
    Posts
    1,026
    Vote Rating
    108
      0  

    Default

    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...
    Product Architect
    Altus Ltd.

Page 2 of 2 FirstFirst 12

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •