react重要的钩子
render :初始化渲染或者更新渲染调用
componentDidMount: 开启监听 发送ajax请求
componentWillUnMount: 做一些收尾工作 如:取消定时器
componentWillReceiveProps: 接受新的属性
声明:本站所有文章资源内容,如无特殊说明或标注,均为采集网络资源。如若本站内容侵犯了原著者的合法权益,可联系本站删除。
render :初始化渲染或者更新渲染调用
componentDidMount: 开启监听 发送ajax请求
componentWillUnMount: 做一些收尾工作 如:取消定时器
componentWillReceiveProps: 接受新的属性
声明:本站所有文章资源内容,如无特殊说明或标注,均为采集网络资源。如若本站内容侵犯了原著者的合法权益,可联系本站删除。