Two ways to do the same thing. Almost. React traditionally provided the React.createClass method to create component classes, and released a small syntax sugar update to allow for better use with ES6 modules by extends React.Component, which extends the Component class instead of calling createClass. These differences are subtle in places, but have quite a few interesting differences worth explori
![React.createClass versus extends React.Component - Ultimate Courses](https://cdn-ak-scissors.b.st-hatena.com/image/square/800bab7e9c93078db028e6f98b74912e09cd370a/height=288;version=1;width=512/https%3A%2F%2Fultimatecourses.com%2Fassets%2Fblog%2Freact%2Freact-create-class-versus-component-7db2eb13047dcd1c20f648f31ab02f7646af8bd39877c562ab02e8b97a547760.png)