类组件的方法排序:
static 方法
constructor()
getChildContext()
componentWillMount()
componentDidMount()
componentWillReceiveProps()
shouldComponentUpdate()
componentWillUpdate()
componentDidUpdate()
componentWillUnmount()
点击处理程序或事件处理程序,如 onClickSubmit() 或 onChangeDescription()
渲染的 getter 方法,如 getSelectReason() 或 getFooterContent()
可选的渲染方法,如 renderNavigation() 或 renderProfilePicture()
render()