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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Show HN: A redux-compatible redux wrapper

1 点作者 liveduo大约 4 年前

1 comment

liveduo大约 4 年前
I created a redux wrapper for my side projects. I used it in 2 projects already and so far it does the job.<p>The thing was to have a no-boilerplate library for state management that is compatible with redux. Then, when complex reducers or sagas are needed I can just replace it with redux with out re-writing all state management code.<p>Codesandbox: <a href="https:&#x2F;&#x2F;codesandbox.io&#x2F;s&#x2F;simple-redux-js-ubnnc" rel="nofollow">https:&#x2F;&#x2F;codesandbox.io&#x2F;s&#x2F;simple-redux-js-ubnnc</a><p>The whole thing is 40 lines of code -&gt; <a href="https:&#x2F;&#x2F;github.com&#x2F;LiveDuo&#x2F;simple-redux&#x2F;blob&#x2F;master&#x2F;src&#x2F;index.js" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;LiveDuo&#x2F;simple-redux&#x2F;blob&#x2F;master&#x2F;src&#x2F;inde...</a>