Skip to content

Commit 3bb9a58

Browse files
author
Lukasz Ostrowski
authored
Links to React Redux hooks api
Since Hooks are already released for Redux, link the docs
1 parent 986381c commit 3bb9a58

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

content/docs/hooks-faq.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,9 @@ Often, render props and higher-order components render only a single child. We t
106106

107107
You can continue to use the exact same APIs as you always have; they'll continue to work.
108108

109-
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.
109+
React-Redux [supports Hooks API](https://react-redux.js.org/next/api/hooks) and exposes hooks like `useDispatch` or `useSelector`.
110+
111+
Libraries like React Router might support hooks in the future.
110112

111113
### Do Hooks work with static typing? {#do-hooks-work-with-static-typing}
112114

0 commit comments

Comments
 (0)