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