Hacker News new | past | comments | ask | show | jobs | submit login

I agree that this is the future. But that will mean telling everyone that they should now run their node_modules through Babel - no inconsequential feat, given the size of the code that must now be transpiled.



It's not just that - is JSX part of ES6? It isn't, but a lot of pre-Babel transpiled code uses it. So people would need to transpile to ES6 for distribution, then to ES5 when someone uses the library.

Messy.


Don't distribute JSX, it's not JavaScript. Distribute what engines actually support.


A nice sentiment, but you could say the exact same thing about ES6. "What engines actually support" is a pretty fuzzy metric.




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

Search: