摘要: 一、基本理解和使用 1. 使用React开发者工具调试 2. 效果 函数式组件: <script type="text/babel"> //1.创建函数式组件 function MyComponent(){ console.log(this); //此处的this是undefined,因为babel 阅读全文
posted @ 2021-04-14 21:18 半指温柔乐 阅读(56) 评论(0) 推荐(0) 编辑