React JS Quiz
Home
Blog
Privacy Policy
Contact Us
Javascript Quiz
New
useHistory Quiz
How do you listen for changes to the current location using the history object?
Report this question
history.listen(callback)
Show Explanation
You can listen for changes to the current location using the history.listen(callback) method.
history.onChange(callback)
history.subscribe(callback)
history.observe(callback)
Next Question (10/20)