Closed
Description
Redux and React-Router have introduced new hooks that drastically change the standard patterns:
https://react-redux.js.org/api/hooks
https://reacttraining.com/blog/react-router-v5-1/
Some of these benefit from extra typescript typings that this guide could help with, such as useDispatch
requiring you to pass the type of the dispatch for action type safety, or useSelector
benefiting from a type override so you don't have to type the state parameter each call.
Metadata
Metadata
Assignees
Labels
No labels