How do you set the document title in React?
I am currently developing my React application and wish to dynamically update the browser's document title as the user changes between different pages or initiates action on specific components. Currently, with this behavior, the title does not change with the page or action. How can I best set/change the document title depending on the current page/component state?