ryanflorence / react-training

Mini React Training Course
1.01k stars 128 forks source link

Lesson 5: using `React.renderComponent()` which changed to `React.render()` in v0.12 #28

Open Engid opened 8 years ago

Engid commented 8 years ago

Howdy! The code for Lesson 5 looks like it was written in 9/2014, which may mean it was using v0.11. In v0.12, according to this post, React.renderComponent() becomes React.render(). I could try and sketch out a pull request myself if that would be necessary. Thanks!

Engid commented 8 years ago

Forgive my confusion. It looks like it would be changed to ReactDOM.render() if I'm not mistaken