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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Enhancing New York Times Web Performance with React 18

16 点作者 samspenc11 个月前

3 条评论

xnx11 个月前
App-ifying articles is an unfortunate path many sites have gone down. Islands of interactivity are great for special cases (games, some charts), but delivering a few KB of text via an application framework is overkill.
评论 #40833192 未加载
ozzcer11 个月前
As a dev that has never worked with react its, interesting, to see react '18' introducing fixes to problems that have not been issues before. I've used angular, straight SSR from PHP / node.js / .net and never suffered from 'screen jank' or huge culumative layout shift issues. Not sure we should celebrate the fixing of issues that shouldn't have ever been a problem for a site that just renders text and images.
评论 #40833565 未加载
8organicbits11 个月前
I wish they&#x27;d consider adding lighter pages. Compare the load time of a NYT page [1] to a text NPR page [2]. I&#x27;m seeing 5.5 seconds vs 600 ms. I think the latter is easier to read as well.<p>[1] <a href="https:&#x2F;&#x2F;www.nytimes.com&#x2F;2024&#x2F;06&#x2F;29&#x2F;us&#x2F;politics&#x2F;biden-donors-democrats.html" rel="nofollow">https:&#x2F;&#x2F;www.nytimes.com&#x2F;2024&#x2F;06&#x2F;29&#x2F;us&#x2F;politics&#x2F;biden-donors-...</a><p>[2] <a href="https:&#x2F;&#x2F;text.npr.org&#x2F;g-s1-6773" rel="nofollow">https:&#x2F;&#x2F;text.npr.org&#x2F;g-s1-6773</a>
评论 #40833283 未加载