diff --git a/docs/docs/02.2-jsx-spread.md b/docs/docs/02.2-jsx-spread.md index 7a147584cb7db..ca212bcfe0663 100644 --- a/docs/docs/02.2-jsx-spread.md +++ b/docs/docs/02.2-jsx-spread.md @@ -6,7 +6,7 @@ prev: jsx-in-depth.html next: jsx-gotchas.html --- -If you know all the properties that you want to place on a component a head of time, it is easy to use JSX: +If you know all the properties that you want to place on a component ahead of time, it is easy to use JSX: ```javascript var component = ; diff --git a/docs/docs/06-transferring-props.md b/docs/docs/06-transferring-props.md index f93fbe2fe26c4..d846dcecfba79 100644 --- a/docs/docs/06-transferring-props.md +++ b/docs/docs/06-transferring-props.md @@ -37,7 +37,7 @@ var FancyCheckbox = React.createClass({ ); } }); -React.renderComponent( +React.render( Hello world! , @@ -70,7 +70,7 @@ var FancyCheckbox = React.createClass({ ); } }); -React.renderComponent( +React.render( Hello world! ,