Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Ask HN: Should You be coding a client-side open source in ES6?
1 point by lookupmobile on Aug 4, 2016 | hide | past | favorite | 2 comments
Most browsers (including many old Android/iPhones) still do not fully (or even partially) support ES6 features such as destruction, arrow functions, native promise etc, so people who do not use stuff like Babel on their js bundle files will not be able to use it on their production environments..


Code in ES6, but run it through Babel yourself before publishing it. npm provides a 'prepublish' hook so you can do this automatically.


Yes




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: