Using props, passed down from parent, to generate state in `getInitialState` often leads to duplication of "source of truth", i.e. where the real data is. Whenever possible, compute values on-the-fly to ensure that they don't get out of sync later on and cause maintenance trouble.
Bad example:
**Bad example:**
```js
/** @jsx React.DOM */
@ -60,3 +60,25 @@ var MessageBox = React.createClass({