React JS Quiz
Home
Blog
Privacy Policy
Contact Us
Javascript Quiz
New
useHistory Quiz
What is the purpose of the useHistory hook?
Report this question
To manage state in a component
To fetch data from an API
To navigate programmatically in a React Router component
Show Explanation
The useHistory hook is used to navigate programmatically in a React Router component.
To handle form submissions
Next Question (7/20)