Fix typo (ot -> to)

This commit is contained in:
Nicholas Bergson-Shilcock
2013-12-15 12:11:47 -05:00
committed by Vjeux
parent 1a9b21313e
commit 18410bf130
+1 -1
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.