Closed kay-is closed 6 years ago
Also some advanced lessons for higher order components and render props/function as children would be nice.
Seemingly babel-core
isn't the way to go anymore, babel-standalone
is and it's also integrated into the main Babel repo.
With version 16 React.PropTypes
and React.createClass
are gone. These now require some extra packages.
Also, if you create element objects manually, you need to set ref
explicitly to null
or React 16 will complain.
Saw that this repository somehow ended up as one of the most popular courses on Github (based on stars, lol)
Anyway, the current version of React is 16.3.1 and this course is based on 15.4.2 Some things have changed and need to be adressed. (PropTypes, context, lifecycle methods, etc. pp.)
Also, maybe this course could use some updates in general.
So what steps need to be taken?
I'm using a rather old version of Babel to enable in-browser compilation of JSX, we probably need to check if this will still work with the new React version.
If someone is interested in this, just go for it.