React 官網. React.memo 這個HOC就是幫你比較元件當中的props 有沒有改變。 用法如下 function FancyButton(props) { ... 元件} function areEqual(prevProps, ...
確定! 回上一頁