top | item 39670833

Redux and TypeScript: Improving on Recommended Patterns (2019)

1 points| throwaway_08932 | 2 years ago |caolan.uk

1 comment

order

acemarke|2 years ago

Note that this article is from 2019, and that's when Redux usage changed _significantly_.

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's designed to have a great TS experience. And in fact, it solves all the problems listed in that article:

- https://redux.js.org/introduction/why-rtk-is-redux-today

- https://redux.js.org/tutorials/typescript-quick-start#define...