8 lines
305 B

---
title: A Stateful Component
order: 1
domid: timer-example
---
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()`.