# Infinite Scrolling that Works

DevFeed: [Infinite Scrolling that Works](<https://devfeed.tech/articles/infinite-scrolling-that-works-40615.md>)

Original publisher: [Read original article](<https://eviltrout.com/blog/2013-02-16-infinite-scrolling-that-works/>)

Published: 2013-02-16T00:00:00Z

Content type: article

Language: en

Sources: [Robin Ward](<https://devfeed.tech/sources/robin-ward.md>)

Topics: [implementation](<https://devfeed.tech/topics/implementation.md>), [HTML5](<https://devfeed.tech/topics/html5.md>), [X (Twitter)](<https://devfeed.tech/topics/twitter.md>), [ui](<https://devfeed.tech/topics/ui.md>), [screen](<https://devfeed.tech/topics/screen.md>)

Tags: [browser](<https://devfeed.tech/tags/browser.md>), [html5](<https://devfeed.tech/tags/html5.md>), [implementation](<https://devfeed.tech/tags/implementation.md>), [twitter](<https://devfeed.tech/tags/twitter.md>), [ui](<https://devfeed.tech/tags/ui.md>)

## AI overview

The article examines how infinite scrolling can disrupt browser state and compares Twitter's implementation with Discourse's approach. It explains that Discourse uses the HTML5 History API to update the URL as readers scroll, helping preserve their position when they return to a topic.

## Source excerpt

Shortly after we began working together on Discourse, Jeff wrote a post about infinite scrolling. At first, I was surprised at how many people claimed to hate sites that used it. However, after reading through many comments about it, I realized that most didn't hate the scrolling itself, they hated how it broke their browser! Infinite Scrolling done wrong: Twitter When I visit Twitter, I am presented with a list of tweets in reverse chronological order. If I scroll down far enough, Twitter will automatically load more tweets so I don't have to stop reading. Initially, their implementation seems great. I can keep scrolling until I'm done reading.