mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Update reference-react-component.md (#9863)
Grammatical edit to match same statement in state-and-lifecycle.html
This commit is contained in:
committed by
Flarnie Marchan
parent
6bef36d9fa
commit
debf4f85e6
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user