When I navigate to a certain page on my React web app with a dynamic URL, I want to trigger a componentDidMount API, which pulls the URL of the page that I\'m currently on,