Python
Java
PHP
IOS
Android
Nodejs
JavaScript
Html5
Windows
Ubuntu
Linux
react里执行shouldComponentUpdate时返回false的后果
大家都知道生命周期shouldComponentUpdate返回false时 xff0c 不会进行后续的渲染 xff0c 那这个时候state是什么情况呢 我们看一下demo class Toggle extends React Compo
React
shouldComponentUpdate
false