Browse Source

Links to React Redux hooks api (#2202)

* Links to React Redux hooks api

Since Hooks are already released for Redux, link the docs

* Update hooks-faq.md


Co-authored-by: Alexey Pyltsyn <lex61rus@gmail.com>
main
Lukasz Ostrowski 5 years ago
committed by Alexey Pyltsyn
parent
commit
6a1d86c712
  1. 4
      content/docs/hooks-faq.md

4
content/docs/hooks-faq.md

@ -106,7 +106,9 @@ Often, render props and higher-order components render only a single child. We t
You can continue to use the exact same APIs as you always have; they'll continue to work.
In the future, new versions of these libraries might also export custom Hooks such as `useRedux()` or `useRouter()` that let you use the same features without needing wrapper components.
React Redux since v7.1.0 [supports Hooks API](https://react-redux.js.org/api/hooks) and exposes hooks like `useDispatch` or `useSelector`.
Libraries like React Router might support hooks in the future.
### Do Hooks work with static typing? {#do-hooks-work-with-static-typing}

Loading…
Cancel
Save