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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

You should use React.memo more!

1 点作者 cacozen超过 4 年前

1 comment

JMTQp8lwXL超过 4 年前
Please only memo if you need to (e.g., &quot;Wow! This component is <i>noticeably</i> faster when I use memo, there&#x27;s customer value in that&quot;).<p>Overly aggressive usage of React.memo, and premature optimization in general, tends to be more trouble than it&#x27;s worth.