What about using ES6 features?
See original GitHub issuehttp://node.green/ (99% from v6.12.2 to 10.0.0 nightly) https://caniuse.com/#search=es6 (~85% features of es6 are supported in most popular browsers)
pros
- reduce size
- performance (in any cases)
- can be transpiled if it really necessary (old browsers)
cons
- in some envs we should use
transpilation step
(but it needs for some external libs anyway)
Please 👍 if you like it and 👎 otherwise.
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
JavaScript ES6 Features - Tutorial Republic
ES6 brought significant changes to the JavaScript language. It introduces several new features such as, block-scoped variables, new loop for iterating over ...
Read more >ES6 Features Every Javascript Developer Should Know - Divami
ES6 is the basis for modern programming languages like Angular and ReactJs. With Object-Oriented Classes, Arrow Functions, String Literals and ...
Read more >ECMAScript 6: New Features: Overview and Comparison
Simple and intuitive default values for destructuring of Objects and Arrays. Intuitive and flexible destructuring of Arrays and Objects into individual ...
Read more >30. An overview of what's new in ES6 - Exploring JS
The introduction of the ES6 specification lists all new features: Some of [ECMAScript 6's] major enhancements include modules, class declarations, lexical block ...
Read more >JavaScript ES6 - W3Schools
New Features in ES6. The let keyword; The const keyword; Arrow Functions; The ... Operator; For/of; Map Objects; Set Objects; Classes; Promises; Symbol ......
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
Let me clarify: I would love to rewrite hyperapp in ES6 and say to hell with old browser support, but there’s more to lose than to win by doing it. So, I’m going to wait until the day we can and then do it! 😄
Iam sorry. thanks 👍