摘要: 起因:使用一段mockup的data,替换useSWR api调用 现象:有个组件(嵌套很深)一直在重复渲染 export const useDashboards = () => { // return useSWR<Dashboard[]>("/api/dashboards"); return J 阅读全文
posted @ 2025-09-19 10:50 funny_coding 阅读(6) 评论(0) 推荐(0)
build beautiful things, share happiness