From b198f26d78c43b363e9fea50ac874df3d7d1354a Mon Sep 17 00:00:00 2001 From: Mark Erikson Date: Sat, 23 Nov 2019 15:21:11 -0500 Subject: [PATCH] Add links to further TS resources --- .../version-7.1/using-react-redux/static-types.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/website/versioned_docs/version-7.1/using-react-redux/static-types.md b/website/versioned_docs/version-7.1/using-react-redux/static-types.md index 4109ea484..165fe152d 100644 --- a/website/versioned_docs/version-7.1/using-react-redux/static-types.md +++ b/website/versioned_docs/version-7.1/using-react-redux/static-types.md @@ -218,3 +218,12 @@ export default connector(MyComponent) The hooks API is generally simpler to use with static types. **If you're looking for the easiest solution for using static types with React-Redux, use the hooks API.** If you're using `connect`, **we recommend using the `ConnectedProps` approach for inferring the props from Redux**, as that requires the fewest explicit type declarations. + +## Resources + +For additional information, see these additional resources: + +- [Redux docs: Usage with TypeScript](https://redux.js.org/recipes/usage-with-typescript): Examples of how to declare types for actions, reducers, and the store +- [Redux Toolkit docs: Advanced Tutorial](https://redux-toolkit.js.org/tutorials/advanced-tutorial): shows how to use RTK and the React-Redux hooks API with TypeScript +- [React+TypeScript Cheatsheet](https://github.com/typescript-cheatsheets/react-typescript-cheatsheet): a comprehensive guide to using React with TypeScript +- [React + Redux in TypeScript Guide](https://github.com/piotrwitek/react-redux-typescript-guide): extensive information on patterns for using React and Redux with TypeScript