Skip to content

Commit

Permalink
Update reference-react-component.md (#9863)
Browse files Browse the repository at this point in the history
Grammatical edit to match same statement in state-and-lifecycle.html
  • Loading branch information
kurtfurbush authored and bvaughn committed Jun 6, 2017
1 parent 54ca918 commit 0966e77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs/reference-react-component.md
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ In particular, `this.props.children` is a special prop, typically defined by the

The state contains data specific to this component that may change over time. The state is user-defined, and it should be a plain JavaScript object.

If you don't use it in `render()`, it shouldn't be on the state. For example, you can put timer IDs directly on the instance.
If you don't use it in `render()`, it shouldn't be in the state. For example, you can put timer IDs directly on the instance.

See [State and Lifecycle](/react/docs/state-and-lifecycle.html) for more information about the state.

Expand Down

0 comments on commit 0966e77

Please sign in to comment.