Skip to content

React, JSX and ES6: The Weird Parts

Updated: at 05:11 PM

Valid JSX complaints: overuse of element nodes and an ugly API for if statements, doctype, and comments

”I’ve spent a few days working with JSX and React and I have mixed feelings about them. React is pretty neat, but I find that they made some very unusual choices when it comes to their API design. Then there’s JSX, definitely the weirdest aspect of React - we’ll look into it as well. I’ve really enjoyed the ES6 and Babel experience, although I’ve noticed that there’s a learning curve where you start to decide whether using an ES6 feature is better than its ES5 equivalent or not, something we’ll explore towards the end of the article.”

Read more at Pony Foo