Skip to content

Commit b198f26

Browse files
committed
Add links to further TS resources
1 parent f059ad0 commit b198f26

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

website/versioned_docs/version-7.1/using-react-redux/static-types.md

+9
Original file line numberDiff line numberDiff line change
@@ -218,3 +218,12 @@ export default connector(MyComponent)
218218
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.**
219219

220220
If you're using `connect`, **we recommend using the `ConnectedProps<T>` approach for inferring the props from Redux**, as that requires the fewest explicit type declarations.
221+
222+
## Resources
223+
224+
For additional information, see these additional resources:
225+
226+
- [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
227+
- [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
228+
- [React+TypeScript Cheatsheet](https://github.com/typescript-cheatsheets/react-typescript-cheatsheet): a comprehensive guide to using React with TypeScript
229+
- [React + Redux in TypeScript Guide](https://github.com/piotrwitek/react-redux-typescript-guide): extensive information on patterns for using React and Redux with TypeScript

0 commit comments

Comments
 (0)