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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Alfa: An Alternative to Redux or Mobx

2 点作者 lsm超过 6 年前

2 条评论

ry_ry超过 6 年前
Looks interesting - Apart from not requiring an additional file, what are the main improvements over connect()ing state to containers with redux?<p>Edit. isn&#x27;t updating the store on internal state (albeit not via setState, but it&#x27;s functionally the same) change essentially 2way data binding? One of the things I hated most about knockout.js was funky state stuff when arbitrary components were asynchronously updating common state .<p>Am on my phonio tho so I may well have missed something critical here!
lsm超过 6 年前
30 seconds Gif demo:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;lsm&#x2F;alfa&#x2F;blob&#x2F;master&#x2F;docs&#x2F;alfa.gif" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;lsm&#x2F;alfa&#x2F;blob&#x2F;master&#x2F;docs&#x2F;alfa.gif</a>