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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Redux and TypeScript: Improving on Recommended Patterns (2019)

1 点作者 throwaway_08932大约 1 年前

1 comment

acemarke大约 1 年前
Note that this article is from 2019, and that&#x27;s when Redux usage changed _significantly_.<p>We now have our official Redux Toolkit package as the standard way to write Redux code. It significantly shrinks the amount of code needed to write Redux logic, _and_ it&#x27;s designed to have a great TS experience. And in fact, it solves all the problems listed in that article:<p>- <a href="https:&#x2F;&#x2F;redux.js.org&#x2F;introduction&#x2F;why-rtk-is-redux-today" rel="nofollow">https:&#x2F;&#x2F;redux.js.org&#x2F;introduction&#x2F;why-rtk-is-redux-today</a><p>- <a href="https:&#x2F;&#x2F;redux.js.org&#x2F;tutorials&#x2F;typescript-quick-start#define-slice-state-and-action-types" rel="nofollow">https:&#x2F;&#x2F;redux.js.org&#x2F;tutorials&#x2F;typescript-quick-start#define...</a>