Jul 30, 2017 · 1 min read
We use TypeScript, which gives us the ‘stage 2’ class syntax. I’m sure you can get the same with Babel.
But, if you have a need to dynamically create React classes, using React.createClass is better.
We use TypeScript, which gives us the ‘stage 2’ class syntax. I’m sure you can get the same with Babel.
But, if you have a need to dynamically create React classes, using React.createClass is better.