-
Notifications
You must be signed in to change notification settings - Fork 32
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
ES6 Conventions #146
Comments
This is a pretty good read on arrow functions and I can get behind the How Much Use Is There for Arrow Functions? section (it also happens to match with how we've used them so far). https://www.sitepoint.com/es6-arrow-functions-new-fat-concise-syntax-javascript/ |
Arrow FunctionsIt'd be cool if we could use them everywhere they outline in @jimmynotjim 's link above, but I think it makes sense that we consider this a transition period, since we're still writing ES5 in most places (right?), which means "I think we can encourage it without making it a must-do for now." I'm more interested in pushing for us to use But...As mentioned in the original post, I'm not sure where and when we're using ES6. |
We chatted about constants in mattermost 11/8 and I added:
|
what @mistergone said
would be cool if folks who've written es6 can post links to the code here so we can see what we're working with. for example i know cfgov-refresh uses es6 in gulp tasks: https://github.com/cfpb/cfgov-refresh/tree/master/gulp/tasks |
Completed in #177 |
We need to update the Javascript doc with a consensus around ES6 conventions.
Current behavior
We haven't documented how and where we're using ES6
Expected behavior
ES6 usage is documented.
The text was updated successfully, but these errors were encountered: