We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 893a0bf commit e6033b8Copy full SHA for e6033b8
src/hooks/useGlobalCache.tsx
@@ -90,7 +90,7 @@ export default function useGlobalCache<CacheType>(
90
onCacheEffect?.(cacheContent);
91
effectMap.set(fullPathStr, true);
92
93
- // 微任务清理混存,可以认为是单次 batch render 中只触发一次 effect
+ // 微任务清理缓存,可以认为是单次 batch render 中只触发一次 effect
94
Promise.resolve().then(() => {
95
effectMap.delete(fullPathStr);
96
});
0 commit comments