Skip to content

Commit 647b639

Browse files
bouwe77lex111
authored andcommitted
React Router also supports hooks now (#2374)
1 parent 51925ad commit 647b639

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
@@ -109,7 +109,9 @@ You can continue to use the exact same APIs as you always have; they'll continue
109109

110110
React Redux since v7.1.0 [supports Hooks API](https://react-redux.js.org/api/hooks) and exposes hooks like `useDispatch` or `useSelector`.
111111

112-
Libraries like React Router might support hooks in the future.
112+
React Router [supports hooks](https://reacttraining.com/react-router/web/api/Hooks) since v5.1.
113+
114+
Other libraries might support hooks in the future too.
113115

114116
### Do Hooks work with static typing? {#do-hooks-work-with-static-typing}
115117

0 commit comments

Comments
 (0)