ES6 Class component for React

You can use ES6 to create ReactJS component.
We will create the following code in ES6 syntsax

You can see the following code snippet which I have rewritten with ES6 syntax. Here I am extending the React.component to create your Product component. You can see it at line 4