Reputation: 35920
I'm using React with JSX with react-tools to compile the JSX code to JavaScript.
What ES6 features are supported in JSX with the harmony
option enabled?
Upvotes: 11
Views: 3763
Reputation: 35920
Thanks to kangax for the compatibility table
Update: Just use babel (previously named 6to5) to compile your JSX. It's faster and has better es6 support anyway.
Upvotes: 9