摘要:
/* * @Descripttion: React官方状态管理库—— Recoil * @version: * @Author: lhl * @Date: 2021-03-24 15:37:36 * @LastEditors: lhl * @LastEditTime: 2021-03-24 16:5 阅读全文
摘要:
/* * @Descripttion: React hook 以及 React Fiber 原理 * @version: * @Author: lhl * @Date: 2021-03-10 15:42:23 * @LastEditors: lhl * @LastEditTime: 2021-03- 阅读全文
摘要:
一、废除的生命周期官网文档指出使用这些生命周期的代码会在未来版本的react中更容易产生bug,尤其是对于异步渲染的版本由于未来采用异步渲染机制,所以即将在17版本中去掉的生命周期钩子函数componentWillMountcomponentWillRecievePropscomponentWIll 阅读全文