📌  相关文章
📜  purecomponent 重新渲染 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:02:24.186000             🧑  作者: Mango

代码示例1
// Note: In order to use PureComponent, 
// you must ensure that you never mutate your state or props.

class MyClass extends React.PureComponent {

  // ...

}