摘要: 转载自https://www.cnblogs.com/penghuwan/p/6707254.html 凡是参阅过react官方英文文档的童鞋大体上都能知道对于一个组件来说,其state的改变(调用this.setState()方法)以及从父组件接受的props发生变化时,会导致组件重渲染,正所谓" 阅读全文
posted @ 2018-11-13 14:53 Nerosen 阅读(1230) 评论(0) 推荐(0)