mengsixing / cdfang-spider

📊 成都房协网数据分析,喜欢请点 star!

Home Page:https://cdfangyuan.cn

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

useCallbck

nocodeempire opened this issue · comments

看到大佬写的前端代码里面, 几乎没用过useCallback和useMemo, 很好奇是为啥?
之前也看过部分别人写的代码, useCallback也很少用, 请问有啥原因么? 因为本人写的方法大都包了层useCallback