会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
星空0909
博客园
首页
新随笔
联系
管理
订阅
2018年3月6日
componentWillMount和componentDidMount的区别
摘要: 1、componentWillMount 将要装载,在render之前调用; componentDidMount,(装载完成),在render之后调用 2、componentWillMount 每一个组件render之前立即调用; componentDidMount render之后并不会立即调用,
阅读全文
posted @ 2018-03-06 18:35 星空0909
阅读(26427)
评论(0)
推荐(0)
编辑
公告