📜  shouldcomponentupdate 默认返回 - 任何代码示例

📅  最后修改于: 2022-03-11 14:58:17.243000             🧑  作者: Mango

代码示例1
By default, shouldComponentUpdate returns true, but you can override it to return false for cases that you do not want a re-render.