会员
周边
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Tim带你转AI测试
大厂测试总监,15年测试老兵,专注AI测试转型落地,从0到1,手把手带你跑通AI测试新赛道~
博客园
首页
新随笔
联系
订阅
管理
2020年2月2日
React中constructor(props){}究竟是什么,以及super(props)与super()
摘要: 定义class组件,为什么需要加上 super() ? 我们尝试去掉 super() 看看编译的结果: constructor() { this.state = {searchStr: ''}; this.handleChange = this.handleChange.bind(this); }
阅读全文
posted @ 2020-02-02 11:09 Tim带你转AI测试
阅读(2327)
评论(0)
推荐(1)
公告