Re:TypeScript: Control flow analysis for destructured discri...
by acemarke on Thursday November 04, 2021 @10:36AM
(#29107729)
FWIW, today we specifically teach and recommend the React-Redux hooks API as the default, and one of the major reasons is that it works _so_ much better with TypeScript than the earlier `connect` API:
https://redux.js.org/tutorials/typescript-quick-start