Skip to content

Commit cf7329d

Browse files
authored
Tweak wording
1 parent 1f21aaa commit cf7329d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

content/docs/reference-react-component.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,7 @@ In particular, `this.props.children` is a special prop, typically defined by the
488488

489489
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.
490490

491-
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.
491+
If some value isn't used for rendering or data flow (for example, a timer ID), you don't have to put it in the state. Such values can be defined as fields on the component instance.
492492

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

0 commit comments

Comments
 (0)