@samitouri / QOS-React-2 / commits / 93ac4d09a1

React.renderComponent --> React.render

Also fixed a spelling mistake.

Stefan Dombrowski committed Oct 29, 2014 at 19:05 UTC 93ac4d09a10774c7ff214c263c6be9ab7b00b3f4
2 files changed +3 -3
docs/docs/02.2-jsx-spread.md
+1 -1
@@ -6,7 +6,7 @@ prev: jsx-in-depth.html
6 next: jsx-gotchas.html
7 ---
8
9 -If you know all the properties that you want to place on a component a head of time, it is easy to use JSX:
9 +If you know all the properties that you want to place on a component ahead of time, it is easy to use JSX:
10
11 ```javascript
12 var component = <Component foo={x} bar={y} />;
docs/docs/06-transferring-props.md
+2 -2
@@ -37,7 +37,7 @@ var FancyCheckbox = React.createClass({
37 );
38 }
39 });
40 -React.renderComponent(
40 +React.render(
41 <FancyCheckbox checked={true} onClick={console.log}>
42 Hello world!
43 </FancyCheckbox>,
@@ -70,7 +70,7 @@ var FancyCheckbox = React.createClass({
70 );
71 }
72 });
73 -React.renderComponent(
73 +React.render(
74 <FancyCheckbox checked={true} onClick={console.log}>
75 Hello world!
76 </FancyCheckbox>,