REACT——Props、status与render

之所以数据发生变化,页面也会变化。因为当state或prop变化的时候,render会重新执行。

原文地址:https://www.cnblogs.com/LY-CS/p/13298641.html