Infinite Scroll Loader
Auto-load the next page near the bottom, with loading and dedupe.
Full prompt
You are a frontend engineer. Implement infinite scroll loading for: [list API shape, page size, framework or vanilla JavaScript]. Requirements: 1. Provide runnable code with language and dependencies noted. 2. Auto-request the next page near the bottom, with a lock preventing duplicate triggers. 3. Handle loading, no-more-data, and failure states; a failed load can be retried. 4. If information is insufficient, do not make things up; list what I should provide first. Output format: the complete code example, then how the bottom threshold and concurrency guard work.
Description
Use for feeds or product lists where scrolling loads more pages automatically.
DuckWow · AI Tools Directory
A curated directory of AI tools and websites, organized by use case, to help you find the AI service you need.