Results 1 to 3 of 3

Thread: ES6 Class syntax

  1. #1

    Question ES6 Class syntax

    In CMD 6.5, support for ES6 has been added. There doesn't seem to be a lot of information about this, and it leaves me with one major question at this time: for new projects, what is the preferred syntax for class definitions : the new ES6 syntax or the familiar Ext.Define() syntax. Are there any limitations or perhaps the former is not actually supported? Can I use CMD to generate a new app based on this new syntax?

    Any thoughts would be appreciated.

    Regards, Ruud

  2. #2
    Sencha User
    Join Date
    Feb 2017
    Location
    Gainesville, FL
    Posts
    3

    Default

    I had the same question and to avoid duplication in the forums I went to Stack Overflow and the answer I got pointed me to this:

    In Ext JS 6.5 and Sencha Cmd 6.5 (https://www.sencha.com/blog/announci...cha-cmd-6-5-ga) you can use pretty much all the ES6 syntax, but support for ES6 modules is a version 7 thing.
    Source: https://www.sencha.com/blog/ext-js-a...#comment-65507

  3. #3

    Default

    Thanks for the pointer!

Similar Threads

  1. Replies: 1
    Last Post: 14 Jan 2014, 12:31 PM
  2. Replies: 2
    Last Post: 24 Aug 2012, 10:05 AM
  3. Replies: 2
    Last Post: 15 Aug 2012, 5:27 AM
  4. Replies: 1
    Last Post: 27 Mar 2012, 12:16 PM
  5. About EXT JS syntax
    By neb1 in forum Ext: 4.x Beta
    Replies: 5
    Last Post: 1 Mar 2012, 11:33 PM

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
  •