Don't set state in the following methods or you'll create an infinite loop and your app will crash:
componentWillMount()
// State doesn't exist yet.render()
shouldComponentUpdate()
componentWillUpdate()
componentWillUnmount()
// The component is going away.