Skip to content

Commit

Permalink
Merge pull request ruanyf#3 from suvjunmd/master
Browse files Browse the repository at this point in the history
Fix typo
  • Loading branch information
ruanyf committed Apr 3, 2015
2 parents 83e5433 + 2d8cbb2 commit 887591b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ You could use component attributes to register event handlers, just like `onClic

## Demo08: Form ([source](https://github.com/ruanyf/react-demos/blob/master/demo08/index.html))

According to React's design philosophy, `this.state` describes the state of component and is mutated via user interactions, and `this.props` describes the properties of component and is stable adn immutable.
According to React's design philosophy, `this.state` describes the state of component and is mutated via user interactions, and `this.props` describes the properties of component and is stable and immutable.

Since that, the `value` attribute of Form components, such as <input>, <textarea>, and <option>, is unaffected by any user input. If you wanted to access or update the value in response to user input, you could use the onChange event.

Expand Down

0 comments on commit 887591b

Please sign in to comment.