Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/docs/02.2-jsx-spread.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 = <Component foo={x} bar={y} />;
Expand Down
4 changes: 2 additions & 2 deletions docs/docs/06-transferring-props.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ var FancyCheckbox = React.createClass({
);
}
});
React.renderComponent(
React.render(
<FancyCheckbox checked={true} onClick={console.log}>
Hello world!
</FancyCheckbox>,
Expand Down Expand Up @@ -70,7 +70,7 @@ var FancyCheckbox = React.createClass({
);
}
});
React.renderComponent(
React.render(
<FancyCheckbox checked={true} onClick={console.log}>
Hello world!
</FancyCheckbox>,
Expand Down