React.createClass is not a function



I am currently folowing the course “Modern Web Apps With React and Redux” and had a problem with React.createClass at the section 3.2: “Uncaught TypeError: React.createClass is not a function”.

The reason is React removed this method since React 15.5

For those who have the same problem, here is a link to help you resolve it:

And this is the CDN I used (since in the tutorial we are using a CDN at this point):


Edit because the problem I encoutered was not related to this topic, sorry.