11

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?

Dmitry Shvedov
  • 3,169
  • 4
  • 39
  • 51
Gil Birman
  • 35,242
  • 14
  • 75
  • 119
  • 1
    Good question. It reminds me that we should add JSX to https://kangax.github.io/compat-table/es6/ – kangax Dec 11 '14 at 14:19

1 Answers1

9

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.

Gil Birman
  • 35,242
  • 14
  • 75
  • 119