Rain的心情杂货铺Rain的心情杂货铺
首页
  • backend
  • note
  • network
  • web
  • technology
  • arithmetic
  • interview
  • Golang
  • 高并发
  • AWS
  • Github
  • OAuth
  • 效率
  • 网络
  • 配置
  • 后端
  • 区块链
  • Git
  • Vue
  • Webpack
  • Vite
  • 工具
  • Linux
  • 开发环境
  • MySQL
  • 面试
  • 前端
  • 算法
  • JavaScript
  • CentOS
  • React
  • ES6
  • 转载
  • 报错
  • PHP
  • sql
  • 搞机
  • 路由器
  • hexo
GitHubopen in new window
首页
  • backend
  • note
  • network
  • web
  • technology
  • arithmetic
  • interview
  • Golang
  • 高并发
  • AWS
  • Github
  • OAuth
  • 效率
  • 网络
  • 配置
  • 后端
  • 区块链
  • Git
  • Vue
  • Webpack
  • Vite
  • 工具
  • Linux
  • 开发环境
  • MySQL
  • 面试
  • 前端
  • 算法
  • JavaScript
  • CentOS
  • React
  • ES6
  • 转载
  • 报错
  • PHP
  • sql
  • 搞机
  • 路由器
  • hexo
GitHubopen in new window
Appearance
Rain的心情杂货铺Rain的心情杂货铺

React学习笔记

Rain2020-10-25 23:52noteReact

每天进步一点点,记录学习React的经历

常用生命周期

componentDidMount 组件渲染后执行 componentDidUpdate 数据修改完成 componentWillUnmount 组件卸载前执行

不常用生命周期

shouldComponentUpdate 返回 false,则不会调用 render()。

Edit this page
Last Updated 4/4/2022, 11:33:25 AM