2 ms·
It's great but it's a real pity that the most recent way of doing things with version 0.13 and ES2015 is quite different to the earlier ways of doing things. D
by andrewstuart 11y ago
It's great but it's a real pity that the most recent way of doing things with version 0.13 and ES2015 is quite different to the earlier ways of doing things.
Don't get me wrong - the newest ways of working with 0.13 and ES6/ES2015 are superb.
It's just that as a result of the changes much of the documentation, discussion, questions and answers and blog posts must first be examined to work out which version and way of doing things they are talking about. It's a bit of a mess frankly.
- seivan 11y agoThis is precisely my issues, but with TypeScript instead of ES6 , types on this.props is worth switching to TypeScript from CoffeeScript or ES6.
- guscost 11y agoIf you're comfortable with ES5, one option is to paste examples into the Babel REPL here: https://babeljs.io/repl/ https://babeljs.io/repl/ This will give you a familiar reference for what is going on, and quickly. It also translates the JSX which could be a good or bad thing depending on your preference. Running your own instance offline allows for a lot more customization.