REACT——Props、status与render

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

posted @ 2020-07-14 13:44  LY-CS  阅读(158)  评论(0编辑  收藏  举报