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.

A Critique of React Hooks Addendum

73 pointsby vicarrionabout 5 years ago

5 comments

karatestompabout 5 years ago
Maybe a good place to ask this:<p>I&#x27;ve been hearing a lot of &quot;oh we don&#x27;t use Redux, we use hooks&quot; lately, as if this obviously makes sense.<p>Am I missing something? To me this seems like &quot;oh we don&#x27;t use Redux, we use arrays&quot;. I&#x27;m gonna need quite a few more details before I can make any sense of a statement like that.<p>Like... what? How... how does that explain what you&#x27;re doing? One of these things is not like the other. &quot;Oh we don&#x27;t use doors on our buildings anymore, we&#x27;ve switched entirely over to trees&quot;. Huh? What the actual hell does that mean?
评论 #23104618 未加载
评论 #23104450 未加载
评论 #23105350 未加载
评论 #23104333 未加载
评论 #23105783 未加载
评论 #23104998 未加载
评论 #23104346 未加载
评论 #23104342 未加载
评论 #23105412 未加载
评论 #23104365 未加载
评论 #23112628 未加载
评论 #23104635 未加载
评论 #23107010 未加载
评论 #23104361 未加载
评论 #23106910 未加载
评论 #23105400 未加载
stickfigureabout 5 years ago
I&#x27;m not quite sure what the point of this quiz is. I don&#x27;t know the answer to those questions, and yet I seem to have no trouble building very large react applications (with hooks) anyway.<p>I would also struggle with similar quiz based on the callbacks for class components. And those I actually had to deal with on a frustratingly regular basis! At least with hooks I can remain blissfully ignorant of what happens under the covers of useEffect().<p>Maybe the answers don&#x27;t matter and this is a pointless exercise.
评论 #23106652 未加载
评论 #23106703 未加载
ng12about 5 years ago
I thought the quiz was really missing the point. The whole point of reactive programming is to not worry about execution order.
hitekkerabout 5 years ago
A clear, concise &amp; clever blog post.<p>Quizzing the community on its supposed expertise, is such an effective way to separate rhetoric from reality.
评论 #23104531 未加载
rdgthreeabout 5 years ago
This was a great follow up. I completely agreed with the first post, and I couldn&#x27;t help but think those critiquing it didn&#x27;t quite understand what they were critiquing. It&#x27;s rare that you&#x27;re able to actually definitively prove that out, but these results are about as conclusive as it gets.
评论 #23106599 未加载