The history.createHref() method is used to create a URL for a specific route.
Question 15 of 20 in useHistory Quiz