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.

Show HN: Easy State: simplified state management for React (learn in a minute)

6 pointsby thenewestkidalmost 8 years ago

3 comments

fiatjafalmost 8 years ago
To me it seems that this offers only syntactic sugar over this.setState. No other advantage. And the cost is high: injecting a lot of magic from <a href="https:&#x2F;&#x2F;nx-framework.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;nx-framework.com&#x2F;</a> in your components.
评论 #14476477 未加载
thenewestkidalmost 8 years ago
Brief summary (from the repo):<p>Easy State aims to make React&#x27;s state management simpler without adding new syntax. To achieve this it makes the following modifications.<p>It replaces React&#x27;s setState() with plain native JavaScript. It auto binds your component&#x27;s methods.
fiatjafalmost 8 years ago
I don&#x27;t get it. Does it use ES6 Proxies? Aren&#x27;t these not polyfillable?
评论 #14478312 未加载