mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Fix method markdown highlight (#8218)
This commit is contained in:
committed by
Dan Abramov
parent
d7d9b81a85
commit
44550c374f
@@ -345,7 +345,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 on 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