<p dir="auto">I tried to implement React Helmet for our project and noticed a bug when running in production mode.<br>
React Helmet doesn't initialize on the very first request after starting the application. But it initializes correctly on each subsequent request (SSR &amp; CSR).<br>
I cloned the minimal <a href="https://github.com/zeit/next.js/tree/canary/examples/with-react-helmet">with-react-helmet</a> example and I can confirm that the issue appears there, too.</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/5004390/34601739-91db88f4-f1fd-11e7-99d5-4a2c6d6ee5a5.png"><img src="https://user-images.githubusercontent.com/5004390/34601739-91db88f4-f1fd-11e7-99d5-4a2c6d6ee5a5.png" alt="image" style="max-width: 100%;"></a></p>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/zeit/next.js/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h2 dir="auto">Expected Behavior</h2>
<p dir="auto">React Helmet should initialize correctly on the first request that was made.</p>
<h2 dir="auto">Current Behavior</h2>
<p dir="auto">As described above, React Helmet doesn't initialize correctly on the very first request.</p>
<h2 dir="auto">Steps to Reproduce (for bugs)</h2>
<ol dir="auto">
<li>Clone <a href="https://github.com/zeit/next.js/tree/canary/examples/with-react-helmet">with-react-helmet</a></li>
<li>npm install</li>
<li>npm run build</li>
<li>npm start</li>
<li>Check the DOM/page source</li>
</ol>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/zeit/next.js/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<p dir="auto">I need to support some older browsers, so I would like to always include some polyfills (Intl, Object.assign and Promise) in the app bundle and just execute them if need (I've tried to do it conditionally, but it fails in a lot of situations), but I can't figure out the way to do it. Has anybody did this o has an idea on how can I do it?</p>