shouldComponentUpdate() 的回傳值決定了「 當Component 的state 改變時,要不要去call render() function 」. 那既然state 改變,不就要更新UI 嗎?
確定! 回上一頁