会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
qq281113270
博客园
首页
新随笔
联系
订阅
管理
2018年2月28日
react组建生命周期
摘要: 实例化 首次实例化 getDefaultProps //创建默认 props getInitialState //创建 默认的State componentWillMount //在装配发生前被立刻调用。其在render()之前被调用,因此在这方法里同步地设置状态将不会触发重渲。避免在该方法中引入任
阅读全文
posted @ 2018-02-28 14:36 qq281113270
阅读(225)
评论(1)
推荐(1)
编辑