每當React 偵測到Props 或State 有更新時,就會自動重繪整個UI 元件。 ... 時做些你想處理的事情(hook),這些Methods 我們稱之Lifecycle Methods。
確定! 回上一頁