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.

Reinventing Hooks with React Easy State

3 pointsby jacobwgabout 5 years ago

1 comment

danawabout 5 years ago
Very cool concepts and makes me want to check out the project again.<p>That said it sounds like you&#x27;re basically concluding &quot;don&#x27;t test components&quot; in your testing section, that can&#x27;t be the conclusion right? I&#x27;m still confused how you would approach testing a &quot;view()&quot; wrapper component since you now can&#x27;t inject mocks as props for your store but instead use direct imports.<p>Suggestions on how to do this simply?