+ 8
Is it wise enough to use ES6 through all your client side scripting?
Js related question
9 Réponses
+ 3
You should use ES6 for all javascript codes now, many browsers already support it.. (come on, we worry es6 support since 2015 up until now... When is the end then?)
If you really worry some small percentage of old browsers that cannot support es6, you can always add polyfill, it will not affect new browsers performance at all.
+ 18
Yes, it's time that we make ES6 a language of present time rather than future...
+ 14
In 2019 yes.
If you have some doubts about old browser use babel, core-js and many other cool transpilers and tools. They will give you confidence to use es6 in your future web masterpieces
+ 8
Thanks
+ 7
Thanks guys...i was asking because i enjoy using Es6 classes but my worry was based on browser support...i'll take a look at all suggested transpilers...
Thanks✊🤗
+ 6
Yes it's a wise decision.
+ 3
4rontender Use polyfill.io is better than babel, it won't create performance issue for browsers that support es6, it only compile es6 to old js for old non-es6 browsers only.
Unless it's react.js, we must use babel to compile jsx codes.
+ 1
Noted🙏