Home »
MCQs »
Next.js MCQs
You may use the ____hook to access the router object from any function component in your app
43. You may use the ____hook to access the router object from any function component in your app.
- Router
- Route
- useRouter
Answer: C) useRouter
Explanation:
You may use the useRouter hook to access the router object from within any function component in your app.