React.createClass is not a function


#1

Hi!

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:
https://reactjs.org/blog/2017/04/07/react-v15.5.0.html#migrating-from-reactcreateclass

And this is the CDN I used (since in the tutorial we are using a CDN at this point):
https://www.jsdelivr.com/package/npm/create-react-class


#2

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