4 ms·
Infinite scroll with htmx: https://htmx.org/examples/infinite-scroll/ https://htmx.org/examples/infinite-scroll/
by geysersam 3mo ago
Infinite scroll with htmx: https://htmx.org/examples/infinite-scroll/ https://htmx.org/examples/infinite-scroll/
- brabel 3mo agoIt’s funny how hilariously simple that is and the parent commenter making it sound like you need a full JS framework for that instead.
- Pxtl 3mo agoI mean I'm not a front-end guy I was genuinely curious how well HTMX handles this kind of case.
- Rohansi 3mo agoIt also doesn't actually work correctly - if you scroll too quickly it doesn't load more content. Possibly just a CSS issue on the example because the last row is not visible when scrolled to the bottom of the page due to the footer and its large margin.
- arjie 3mo agoInfinite scroll is not a good tool for his use-case. Users will filter and then try to Cmd-F. They will get annoyed if you can’t search. It’s just bad UX. You can use infinite scroll for things like Twitter feed. Product search is just a different kind of UI.
- asdf88990 3mo agoIt looks simple because first it is largely broken and second it moves half of the logic to the backend.