dt-react-component icon indicating copy to clipboard operation
dt-react-component copied to clipboard

[Bug]: ContentLayout 组件中去除 useMemo、useCallback 的使用

Open jin-sir opened this issue 1 year ago • 1 comments

组件

ContentLayout

版本

5.x

期望的结果

image 这里使用 useMemo 和 useCallback 是不是有些不必要?可否去除

实际的结果

No response

jin-sir avatar Oct 22 '24 02:10 jin-sir

看起来必要性不大,之前有同学对这个组件有一些想法,觉得使用不得当,可以一起讨论一下

LuckyFBB avatar Oct 22 '24 02:10 LuckyFBB