TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Why isn't HN infinite scroll?

35 pointsby bukhtarkhanabout 4 years ago
just curious if the design is intentional

28 comments

bluefirebrandabout 4 years ago
Infinite Scroll is often considered a dark design pattern. It makes it easier for users to waste a lot of time idly skimming content without engaging with it while you can occasionally throw ads in to get some money.<p>Hackernews explicitly states they want users to engage meaningfully and critically with the content on the site, and also they don&#x27;t serve up ads for revenue. Given that, infinite scroll seems likely to run contrary to all of their goals with the message board.
评论 #26256690 未加载
brundolfabout 4 years ago
I say this as a front-end dev who has worked on, among other things, several SPAs<p>Downsides of infinite scroll:<p>- Requires JavaScript (adds complexity, especially when site doesn&#x27;t already require dynamic rendering)<p>- Loose&#x2F;unpredictable UX behavior can be discomforting (loads when you don&#x27;t want it to load, doesn&#x27;t load when you want it to, scroll bar suddenly changes size, etc)<p>- Reloading the page&#x2F;clicking the back button loses your position<p>- Monotonically-growing DOM slows things down eventually, unless you start de-rendering previous &quot;pages&quot;, which adds even more complexity and unpredictability (Ctrl+F doesn&#x27;t behave as expected, for example)<p>I think it can make sense for some things, but not for a simple and stable website like HN. Even for something like Twitter I wish they hadn&#x27;t added it.
评论 #26255350 未加载
评论 #26271976 未加载
评论 #26255594 未加载
markus_zhangabout 4 years ago
I hate infinite scroll. How do you track where you were with infinite scroll? On mobile when rss is smaller infinite websites tend to reset when the web browser clises down, and I have to re scroll half an hour to get to where I were.<p>I had so much bad experience with infinite scroll that I want to curse that whoever invented inf scroll is a P, M and I.
评论 #26255308 未加载
podikiabout 4 years ago
I hate when websites do that, especially since it is often when I&#x27;m trying to get to the footer for a link. Or when a story becomes another as you finish reading, changing the address at the same time. Awful.
评论 #26254060 未加载
capablewebabout 4 years ago
Others provide good reasons why it&#x27;s not in place. But if you want it anyways, here&#x27;s a snippet you can put in your browser JS console:<p><pre><code> (new IntersectionObserver(v =&gt; { if (v[0].isIntersecting) {document.querySelector(&quot;.morelink&quot;).click()}}, {rootMargin: &quot;0px&quot;, threshold: 1})).observe(document.querySelector(&quot;.morelink&quot;)) </code></pre> You&#x27;d have to rerun the snippet for each page load, so not quite effortless. Throw it into a browser extension content script and you&#x27;ll get it truly infinite.
celloverabout 4 years ago
I read once on the psychological effects of infinite scroll and that it made users somewhat anxious. I can not remember the source however.<p>This resonates with me. I don&#x27;t like when I can not &quot;feel the size&quot; of a page. This might be ridiculous but I find it helps to materialize web pages when they do have a bottom.
blacktriangleabout 4 years ago
Because HN doesn&#x27;t hate its users?
Finnucaneabout 4 years ago
Infinite scroll sucks ass.
nonameiguessabout 4 years ago
The iOS app actually does have infinite scroll, but I&#x27;m very glad the in-browser GUI does not. Very little about the Internet is more annoying than having your scrollbar position suddenly pulled out from under you and what had been a smooth scroll hijacks where you are on the page and throws you thousands of words lower. To me, this makes Google News and Facebook effectively unusable in a browser (which is maybe the point given how much harder it is to block ads in their native apps).
ksecabout 4 years ago
I dislike Infinite Scroll especially on Web <i>Pages</i>. HN as a webpage is about as simple as it gets.<p>For things like Apps, such as Twitter. I am fine. The difference can be reduced to experience. App tends to be so much better with loading &#x2F; pre-loading all the information. I have never seen any infinite scrolling that works well inside web browser. Even the best of them seems to be janky.<p>I also want to mention Twitter is more like continuous scroll. Since there is a definite bottom of your main feeds.
danboltabout 4 years ago
Not having infinite scroll is <i>great</i> when you&#x27;re on an older device. The user is in much more control of how much resources the website uses up without it.
wh-uwsabout 4 years ago
To quote dang (the moderator) &quot;for performance reasons&quot;.<p><a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=26069395" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=26069395</a><p>He tends to post the comment like that on all of the most popular posts<p>Apparently they&#x27;re working on adding infinite scroll back but she also mentioned in thesw threads
ng-userabout 4 years ago
There&#x27;s no technical requirement that justifies infinite scroll.<p>HN is purposely bare bones - it does what it&#x27;s intended to and nothing else.
nocommandlineabout 4 years ago
I can&#x27;t say this is why HN isn&#x27;t doing this but Infinite Scroll is generally not &#x27;Accessibility&#x27; friendly [1].<p>1. <a href="https:&#x2F;&#x2F;www.digitala11y.com&#x2F;infinite-scroll-accessibility-is-it-any-good&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.digitala11y.com&#x2F;infinite-scroll-accessibility-is...</a>
codegeekabout 4 years ago
I hate infinite scrolls.
pwgabout 4 years ago
Please, no to infinite scroll. The paged model is much better.
michaelbraveabout 4 years ago
I don&#x27;t want infinite scroll on anything, my internet is rarely as fast as I want it to be and anytime I&#x27;m on a website that has it and I go beyond about the 300th thing mark it crawls, if I ever hit the 1000th thing mark it breaks. No thank you, never implement it on anything.
muzaniabout 4 years ago
On a technical perspective, it&#x27;s also quite a bit of work. I&#x27;ve spent at least two weeks on it to sort out the kinks, which is a lot of time for a feature that few people appreciate. It&#x27;s suitable for apps like TikTok, not so much for something like HN.
krappabout 4 years ago
One reason HN shouldn&#x27;t use infinite scroll that I&#x27;m surprised no one has mentioned yet - this site doesn&#x27;t have a high enough rate of new content for it to be worthwhile.
评论 #26257648 未加载
Yhippaabout 4 years ago
One of my favorite message boards has pagination and you have to click in to messages to see them and then press the back button on your browser: <a href="https:&#x2F;&#x2F;virginia.sportswar.com&#x2F;message_board&#x2F;general&#x2F;" rel="nofollow">https:&#x2F;&#x2F;virginia.sportswar.com&#x2F;message_board&#x2F;general&#x2F;</a>. Old, but has stood the test of time.
2pEXgD0fZ5cFabout 4 years ago
I&#x27;m very very glad that it isn&#x27;t.
cblconfederateabout 4 years ago
because they are sane people
kingnothingabout 4 years ago
If you want it, there are plugins for every major browser that will automatically infinite-scroll-itize every site on your behalf.
willcateabout 4 years ago
I&#x27;m happier without it.
geogra4about 4 years ago
Count me also in favor of the paginated model compared to infinite scroll
twhiterabbitabout 4 years ago
No, don&#x27;t ruin HN also. Already saw Reddit get rekt
aurahamabout 4 years ago
I like the way it is.
probinsoabout 4 years ago
we have jobs. infinite scroll is bad for jobs