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.

Show HN: React-hn – Supports all Hacker News API v0 item types

69 pointsby insinover 10 years ago

3 comments

fudged71over 10 years ago
Auto-updating has a lot of potential but also a few usability concerns.<p>You&#x27;ll find on other auto-updating comment systems that &quot;x new comments&quot; is introduced so that you don&#x27;t lose the spot you were viewing and you have the choice of seeing the new comments or not.<p>Animations and color can be used to show the movement, appearance, and disappearance of items. This would be great for seeing how votes and positions of items are changing.
评论 #8434339 未加载
swartkransover 10 years ago
I like it and I very much like react.js, but there&#x27;s a very bad flash of no content followed by quick iterative loading, a frequent problem with pure JavaScript applications. I bet your react component&#x27;s render is calling multiple times for each new item you load, and that seems unnecessary. I realize react says you shouldn&#x27;t worry about this, but there I doubt that multiple renders are going to be faster than a single render as with each render the CSS has to be recalculated by the browser. When the browser parses pure HTML and renders Hacker News proper, it&#x27;s not that slow, you do not see each item load.
评论 #8433804 未加载
评论 #8434542 未加载
评论 #8434380 未加载
评论 #8433800 未加载
me_so_happyover 10 years ago
Woooooooohooo!
评论 #8500751 未加载