You can navigate to a route without adding a new entry to the history stack using the history.replace() method.
Question 16 of 20 in useHistory Quiz