Browse Source

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

Fix typos
main
Pete Hunt 11 years ago
parent
commit
d6886c35b3
  1. 2
      docs/09.2-form-input-binding-sugar.md

2
docs/09.2-form-input-binding-sugar.md

@ -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.

Loading…
Cancel
Save