会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
chenyuan819
博客园
首页
新随笔
联系
订阅
管理
2019年5月13日
react 基础知识要点
摘要: 1.组件名称必须以大写字母开头。 eg:<Welcome /> 表示一个组件2.Props的只读性 所有的React组件必须像纯函数那样使用它们的props。3.生命周期 componentDidMount挂载 componentWillUnmount卸载4.setState() 这里有三件事情需要
阅读全文
posted @ 2019-05-13 11:00 chenyuan819
阅读(130)
评论(0)
推荐(0)
编辑
公告