title: How do you set the document title in React?
body: <p>I would like to set the document title (in the browser title bar) for my React application. I have tried using <a href="https://github.com/gaearon/react-document-title" rel="noreferrer">react-document-title</a> (seems out of date) and setting <code>document.title</code> in the <code>constructor</code> and <code>componentDidMount()</code> - none of these solutions work.</p>