Skip to content

Commit

Permalink
Fix typo (ot -> to)
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholasbs committed Dec 15, 2013
1 parent 3ad2938 commit 760cdd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs/09.2-form-input-binding-sugar.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit 760cdd3

Please sign in to comment.