diff --git a/lessons/05-wrapping-dom-libs.md b/lessons/05-wrapping-dom-libs.md index d605a1b..f6a5441 100644 --- a/lessons/05-wrapping-dom-libs.md +++ b/lessons/05-wrapping-dom-libs.md @@ -77,7 +77,7 @@ and then start rendering with React again. Some people call these DOM stuff, and then keep going on the other side. The big trick is rendering nothing and then calling -`React.renderComponent` _inside_ a component. +`React.render` _inside_ a component. ```js var Dialog = React.createClass({ @@ -94,7 +94,7 @@ var Dialog = React.createClass({ // start a new React render tree with our node and the children // passed in from above, this is the other side of the portal. - React.renderComponent(