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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

A (Mostly) Complete Guide to React Rendering Behavior

19 点作者 QuiiBz超过 3 年前

2 条评论

acemarke超过 3 年前
Oh hey, that&#x27;s my post :)<p>This has been one of the most popular and well-received posts I&#x27;ve ever written (the other being the &quot;Redux and Context&quot; post I wrote earlier this year [0]).<p>I think this one started out at about 5000 words, and I&#x27;ve kept adding to it over time so that it&#x27;s now about 8500. I actually have several more updates I need to make, including covering some of the changes in React 18. Hopefully will get to those sometime during this holiday break.<p>The other deep-dive post I typically recommend is Dan Abramov&#x27;s &quot;Complete Guide to `useEffect`&quot; [1].<p>I&#x27;m also happy to say that a decent chunk of this information is now part of the new React beta docs [2], which are absolutely amazing. They&#x27;re not complete yet, but they&#x27;re already vastly better than the previous docs, and we now routinely point new React learners to the beta docs as a starting point.<p>[0] <a href="https:&#x2F;&#x2F;blog.isquaredsoftware.com&#x2F;2021&#x2F;01&#x2F;context-redux-differences&#x2F;" rel="nofollow">https:&#x2F;&#x2F;blog.isquaredsoftware.com&#x2F;2021&#x2F;01&#x2F;context-redux-diff...</a><p>[1] <a href="https:&#x2F;&#x2F;overreacted.io&#x2F;a-complete-guide-to-useeffect&#x2F;" rel="nofollow">https:&#x2F;&#x2F;overreacted.io&#x2F;a-complete-guide-to-useeffect&#x2F;</a><p>[2] <a href="https:&#x2F;&#x2F;beta.reactjs.org" rel="nofollow">https:&#x2F;&#x2F;beta.reactjs.org</a>
评论 #29740350 未加载
legerdemain超过 3 年前
With all this bloated complexity, is there any remaining reason to use React at this time? My blog has had a single JavaScript dependency (that being jQuery) since 2008, and it&#x27;s not clear why anything else is really necessary.
评论 #29743658 未加载