Slacker

Slacker loads data when it enters the viewport. It combines Observer with a loader function and supports loading, error, and retry states.

Basic usage#

Provide a loader and render the loaded data in children once it becomes visible.

Error handling & retries#

Use errorFallback, maxRetries, and retryDelay to handle failures gracefully.

Components - Control Flow Utilities | ilokesto - React Library Collection