Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using ES6 #20

Open
scott-w opened this issue Mar 12, 2016 · 4 comments
Open

Using ES6 #20

scott-w opened this issue Mar 12, 2016 · 4 comments
Labels
Milestone

Comments

@scott-w
Copy link
Member

scott-w commented Mar 12, 2016

A quick question for discussion:

With ES6 starting to gain popularity through Babel, should the Guides use it as the basis for code samples? I'm happy to throw in the additional configs for Webpack to make it work.

A counterpoint is that it's still not natively supported, and it could possibly add another concept for readers to grasp that prevents the Guide from being useful.

I'm open to suggestions and I'd like to open it to the floor before I get too committed to a coding style for the v3 Guide.

@scott-w scott-w added this to the v3.0.0 milestone Mar 12, 2016
@jdaudier
Copy link
Contributor

I'm all for ES6 since everyone will have to learn it eventually.

@vernondegoede
Copy link

I also like the idea of using ES6 in the guides, especially since Marionette's core has been rewritten for ES6 support.

@jdaudier is right, ES6 will be the standard in a few months. Every JavaScript developer will need to start using it some day.

@ruthnaebeck
Copy link
Contributor

ruthnaebeck commented Aug 7, 2017

My ES6 refactor through the end of chapter# 2 is available here. This works in Chrome with Marionette 2.4.7 and without compiling back to ES5 (babel).

@scott-w
If you want, I can submit a pull request to add this to the appendix for reference.

@jdaudier
Copy link
Contributor

jdaudier commented Aug 7, 2017

@ruthnaebeck Awesome! If you can submit a PR, that'll be great!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants