render :初始化渲染或者更新渲染调用ajax
componentDidMount: 开启监听 发送ajax请求ide
componentWillUnMount: 作一些收尾工做 如:取消定时器component
componentWillReceiveProps: 接受新的属性 it