“`”
重写shouldComponentUpdate来避免不必要的dom操作0
使用 production 版本的react.js0
使用key来帮助React识别列表中所有子组件的最小变化。
参考链接:
<a class=""url"" href=""https://segmentfault.com/a/1190000006254212"" target=""_blank"">https://segmentfault.com/a/1190000006254212</a> <a class=""url"" href=""http://blog.csdn.net/limm33/article/details/50948869"" target=""_blank"">http://blog.csdn.net/limm33/article/details/50948869</a>
<pre><code> "“`
Was this helpful?
0 /
0