2020年1月4日

react-hooks

摘要: 重点待学习: 1.使用自定义hook,render props,高阶组件实现逻辑复用 2. hook中使用useReducer和react-redux 3. 其他hook api的使用 4. 学习hooks的性能优化 setState推荐用法:setCount(c => c +1); 当state 阅读全文

posted @ 2020-01-04 12:26 joyful2 阅读(146) 评论(0) 推荐(0) 编辑

导航