Root


  • Home

  • About

  • Tags

  • Categories

  • Archives

constructor函数

Posted on 2018-06-29 | In 前端 | | 次阅读

constructor(){
super(props)//建议写法
}
class设置state的初始值或者绑定事件

# React
React.js和ReactNative
React官网

Root

87 posts
20 categories
23 tags
© 2018 Root
Powered by Hexo
|
Theme — NexT.Mist v5.1.4
本站总访问量 次 | 有人看过我的博客啦