Closed ivankoleda closed 2 years ago
This PR adds an example of usage useSelector and useDispatch. Mostly based on react-redux docs https://react-redux.js.org/using-react-redux/static-typing.
useSelector
useDispatch
react-redux
Hesitated about adding this types hooks in hooks folder, but there are examples of usage of react only hooks, so I added them into connected folder.
README_SOURCE.md
README.md
npm run ci-check
Looks good, just need to improve file organization. Thanks!
Looks good
Description
This PR adds an example of usage
useSelector
anduseDispatch
. Mostly based onreact-redux
docs https://react-redux.js.org/using-react-redux/static-typing.Hesitated about adding this types hooks in hooks folder, but there are examples of usage of react only hooks, so I added them into connected folder.
Related issues:
Checklist
README_SOURCE.md
(NOTREADME.md
)npm run ci-check
to generate an updatedREADME.md