Question: what is the difference between react.component and react.createclass?
Answer: createClass allows you to generate component "classes." Under the hood, your component class is using a bespoke class system implemented by React. With ES6, React allows you to implement component classes that use ES6 JavaScript classes. The end result is the same -- you have a component class.