Rewrite to ES6
See original GitHub issueHad a talk with @dbanksdesign and basically we could start migrating the library little by little to use ES6 features. Of course this needs some infrastructure work (that I would love to do) and also to take some decisions about how do we do this. Opening this issue to start the conversation for this.
Some Thoughts
- Some of the features are already available in node 6 and node 8, probably the most important ones we would want like template literals, spreads, destructuring etc
- Replacing and using arrow functions everywhere might be tricky because of how style dictionary API has been designed with
this
in mind - A build system will be required to ship the code for older versions
Some build systems
Issue Analytics
- State:
- Created 5 years ago
- Reactions:2
- Comments:13 (10 by maintainers)
Top Results From Across the Web
JavaScript ES6 — write less, do more - freeCodeCamp
It allows you to write less code and do more. ES6 introduces us to many great features like arrow functions, template strings, class ......
Read more >ES6 - Page Redirect - Tutorialspoint
ES6 - Page Redirect, Redirect is a way to send both users and search engines to a different URL from the one they...
Read more >ES6 | Page Redirect - GeeksforGeeks
The ES6 page redirect is used to send a request to different website addresses to the user and browser search engine, (search engine...
Read more >Rewriting a javascript "call" function using ES6 syntax
ES6 way to write this would be traversal. · Well, there's a certain amount of manipulation of this going on, but you'd probably...
Read more >ES6 is the Node way to go - DEV Community
One thing to note, Node.js doesn't support ES6 import directly. ... if you need common js, you have to change that file extension...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@chazzmoney you think we can close this?
develop-3.0 is now up to date with develop