+ 8

Is it wise enough to use ES6 through all your client side scripting?

Js related question

12th Jun 2019, 8:11 AM
imsamaritan
imsamaritan - avatar
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.
12th Jun 2019, 9:09 AM
Calviղ
Calviղ - avatar
+ 18
Yes, it's time that we make ES6 a language of present time rather than future...
14th Jun 2019, 7:02 AM
Humayra🇧🇩
Humayra🇧🇩 - avatar
+ 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
12th Jun 2019, 9:12 AM
Вап
+ 8
Thanks
14th Jun 2019, 7:04 AM
imsamaritan
imsamaritan - avatar
+ 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✊🤗
12th Jun 2019, 11:51 AM
imsamaritan
imsamaritan - avatar
+ 6
Yes it's a wise decision.
14th Jun 2019, 3:55 AM
Sonic
Sonic - avatar
+ 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.
12th Jun 2019, 9:20 AM
Calviղ
Calviղ - avatar
+ 1
Noted🙏
20th Jun 2019, 1:17 PM
imsamaritan
imsamaritan - avatar