question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

What about using ES6 features?

See original GitHub issue

http://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:closed
  • Created 6 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

6reactions
jorgebucarancommented, Dec 10, 2017

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! 😄

0reactions
dima-takoy-zzcommented, Dec 10, 2017

Iam sorry. thanks 👍

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found