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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

What the Flux? Let’s Redux. (or why Redux is awesome)

19 点作者 HenrikJoreteg将近 10 年前

1 comment

abritinthebay将近 10 年前
90% of these are actually &quot;Why Flux + React Is Awesome&quot; and have zero to do with Redux.<p>Redux seems perfectly nice but more verbose and boiler-plate ridden compared to say... Alt or Flummox and way less intuitive to newbies than Reflux (though Reflux has its own issues). I like Flummox but it has Osbourned itself by saying it&#x27;s functionally abandoned.<p>Redux has constants for Actions which seems like the most verbose and ugly way to implement that (and it was the most criticized part of FB&#x27;s original implementation as well). What this article doesn&#x27;t do is tell me why I should use Redux <i>instead</i> of the others. Isomorphic is a great feature over Reflux but many other Flux libs have that.<p>So... can anyone else on here tell me <i></i>why I should use Redux in production<i></i>? Note - that&#x27;s the important thing; <i>in production</i>. Who cares if it&#x27;s a cute side-project thing? Real world applications are key. Or is it a case of &quot;don&#x27;t, but when it&#x27;s stable switch&quot;? If so, fine, but why would I switch?<p>In short: can anyone answer the question this article didn&#x27;t? Why <i>Redux</i>?