()
| 337 | } |
| 338 | |
| 339 | function useCacheRefresh(): () => void { |
| 340 | const hook = nextHook(); |
| 341 | hookLog.push({ |
| 342 | displayName: null, |
| 343 | primitive: 'CacheRefresh', |
| 344 | stackError: new Error(), |
| 345 | value: hook !== null ? hook.memoizedState : function refresh() {}, |
| 346 | debugInfo: null, |
| 347 | dispatcherHookName: 'CacheRefresh', |
| 348 | }); |
| 349 | return () => {}; |
| 350 | } |
| 351 | |
| 352 | function useLayoutEffect( |
| 353 | create: () => (() => void) | void, |
no test coverage detected