News for hackers. Stuff that matters.
Re:React v15.5.0 by STRML on Friday April 07, 2017 @08:41PM (#14064562)
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.
Re:React v15.5.0 by untog on Friday April 07, 2017 @10:56PM (#14065031)
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.

Re:React v15.5.0 by spankalee on Saturday April 08, 2017 @11:57AM (#14067516)
Don't distribute JSX, it's not JavaScript. Distribute what engines actually support.
Re:React v15.5.0 by untog on Sunday April 09, 2017 @04:15PM (#14074133)
A nice sentiment, but you could say the exact same thing about ES6. "What engines actually support" is a pretty fuzzy metric.