Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
untog
9y ago
0 comments
Share
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.
0 comments
default
newest
oldest
spankalee
9y ago
Don't distribute JSX, it's not JavaScript. Distribute what engines actually support.
untog
OP
9y ago
A nice sentiment, but you could say the exact same thing about ES6. "What engines actually support" is a pretty fuzzy metric.
j
/
k
navigate · click thread line to collapse