()
| 12 | export function useImagePreloader(urls: string[]): void { |
| 13 | useEffect(() => { |
| 14 | const load = () => urls.forEach(preloadImage); |
| 15 | |
| 16 | // Use requestIdleCallback if available, otherwise setTimeout as fallback |
| 17 | if (typeof requestIdleCallback !== 'undefined') { |
nothing calls this directly
no outgoing calls
no test coverage detected