React JS Quiz
Home
Blog
Privacy Policy
Contact Us
Javascript Quiz
New
useHistory Quiz
How do you navigate to the root route using the history object?
Report this question
history.push('/')
Show Explanation
You can navigate to the root route using the history.push('/') method.
history.navigate('/')
history.route('/')
history.redirect('/')
Next Question (12/20)