You can listen for changes to the current location using the history.listen(callback) method.
Question 10 of 20 in useHistory Quiz