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.

UseContext(): an obvious win

1 pointsby jamesknelsonover 6 years ago

1 comment

jamesknelsonover 6 years ago
Now that hooks are out I&#x27;m seeing a lot of people ask whether it&#x27;s worth learning a new API for. So in this article I&#x27;ve asked: is any part of hooks just <i>obviously</i> better, even when just starting out?<p>My answer is that useContext() is pretty great. Would be keen to hear what aspects the rest of you have found that are just immediately and obviously better!