7 lines
284 B
7 lines
284 B
7 years ago
|
---
|
||
|
title: A Stateful Component
|
||
|
order: 1
|
||
|
---
|
||
|
|
||
|
In addition to taking input data (accessed via `this.props`), a component can maintain internal state data (accessed via `this.state`). When a component's state data changes, the rendered markup will be updated by re-invoking `render()`.
|