TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: Why is comment toggle/collapse button so slow?

5 点作者 IA21超过 8 年前
The [-] button on top of comments for collapsing threads is very, very slow.<p>Can&#x27;t this be improved upon?<p>Reddit has the same (similar?) functionality but that&#x27;s quite fast.

2 条评论

ClassyJacket超过 8 年前
I actually don&#x27;t have a speed problem with it. It works quickly for me. Latest version of Chrome on 2015 MacBook Pro.<p>I do, however, find that comments with block quotes are unreadable on mobile as they have to be scrolled back and forth constantly. That&#x27;s my main problem with the site.
dangrossman超过 8 年前
On Reddit, it&#x27;s just altering the DOM in your browser. If you reload the page, what you collapsed is no longer collapsed.<p>On HN, it&#x27;s making a request to the server, which will remember that you collapsed that thread and keep it collapsed if you return to the page in the future.
评论 #13465266 未加载