Merge pull request #668 from nicholasbs/fix-docs-typo

Fix typos
This commit is contained in:
Pete Hunt
2013-12-17 18:39:14 -08:00
2 changed files with 2 additions and 2 deletions

View File

@@ -62,7 +62,7 @@ var WithLink = React.createClass({
});
```
`LinkedStateMixin` adds a method ot your React component called `linkState()`. `linkState()` returns a `ReactLink` object which contains the current value of the React state and a callback to change it.
`LinkedStateMixin` adds a method to your React component called `linkState()`. `linkState()` returns a `ReactLink` object which contains the current value of the React state and a callback to change it.
`ReactLink` objects can be passed up and down the tree as props, so it's easy (and explicit) to set up two-way binding between a component deep in the hierarchy and state that lives higher in the hierarchy.

View File

@@ -52,7 +52,7 @@ var ReactTransitionKeySet = {
/**
* When you're adding or removing children some may be added or removed in the
* same render pass. We want ot show *both* since we want to simultaneously
* same render pass. We want to show *both* since we want to simultaneously
* animate elements in and out. This function takes a previous set of keys
* and a new set of keys and merges them with its best guess of the correct
* ordering. In the future we may expose some of the utilities in