React函式元件效能優化之useEffect、useMemo、useCallback、React.memo. 通過react.memo包裹子元件,在props不變的情況下,Testson是不會二次渲染的。
確定! 回上一頁