React.memo 就是過去的 React.PureComponent 的HOC 版本. 如果function component 每次得到相同prop 的時候都會render 相同結果,可以將其包 ...
確定! 回上一頁