useVisibleImageLoader - Hook for visibility-based image URL loading
Fetches image URLs only for recipes that are visible or near-visible in the viewport,
dramatically reducing network requests for large recipe lists. Uses debouncing to
prevent fetch spam during fast scrolling and supports fetch cancellation.
Key Features:
Only fetches image URLs for visible/near-visible items
Debounces visibility changes to avoid fetch spam
Cancels in-flight fetches for items that leave viewport
Limits concurrent fetches to prevent memory exhaustion
Tracks settled lookups (success or failure) to avoid duplicate requests and retry loops
Stops and aborts everything when disabled or unmounted
useVisibleImageLoader - Hook for visibility-based image URL loading
Fetches image URLs only for recipes that are visible or near-visible in the viewport, dramatically reducing network requests for large recipe lists. Uses debouncing to prevent fetch spam during fast scrolling and supports fetch cancellation.
Key Features: