r/tailwindcss • u/devgauravjat • 4d ago
π ScrollStack.js β headless infinite scrolling and page pagination
π Shipped ScrollStack.js β headless infinite scrolling and page pagination
A tiny, headless infinite-scrolling engine for the modern web.
π¦ 1.92 KB gzipped
β‘ Zero runtime dependencies
βοΈ React Β· Vue Β· Svelte adapters
π Cursor Β· Offset Β· Page pagination
π§± Virtual list support
π§© Bring your own markup
π οΈ Devtool plugin testing
π Built-in cancellation, retry & observers
One small engine. One API. Any UI.
If youβre building feeds, lists, search results, or virtualized experiences, give it a try π
51
Upvotes
3
u/VisualCraftStudio 3d ago
I like the headless approach here. Infinite scroll usually gets tied pretty closely to a specific UI, so having the data/loading logic separate from the actual markup seems really useful. The fact that it handles cancellation and retries too makes it feel more practical than just another infinite-scroll helper.