News for hackers. Stuff that matters.
Re:Infinite Scrolling: When to Use It, When to Avoid It by dahfizz on Saturday September 10, 2022 @11:56AM (#32791759)
It's a problem with web technologies in general. A real application framework would have hooks for knowing where the viewport is.

The web was designed from the ground up to display documents, so we would have to resort to URL hacks.

Re:Infinite Scrolling: When to Use It, When to Avoid It by Wowfunhappy on Saturday September 10, 2022 @12:23PM (#32792026)
...I guess, to be quite honest, I'm starting to think we've reached the point where we ought to throw everything out and start over.

HTML can stick around indefinitely for legacy websites and truly static pages, but browsers should introduce a new standard DOCTYPE optimized for what we actually want the web to do.

Re:Infinite Scrolling: When to Use It, When to Avoid It by hombre_fatal on Saturday September 10, 2022 @01:00PM (#32792400)
This doesn’t make sense. You can build this feature into a web app. It just isn’t often worth it when items aren’t in deterministic order, you’d have to track the hundreds of items the user has already scrolled, and the user doesn’t really care if they start over.

There’s nothing magical about this that a “real app framework” gives you.

Re:Infinite Scrolling: When to Use It, When to Avoid It by cudgy on Sunday September 11, 2022 @05:29AM (#32798182)
> the user doesn’t really care if they start over.

This user certainly does, and, unless there is strong evidence otherwise, I’d go out on a limb and assume that most users would dislike having to “re-scroll” to the point they were in the list.