跳到主要内容

shouldComponentUpdate 用途

  • 性能优化
  • 配合 “不可变值” 一起使用,否则会出错