<p dir="auto">Is it possible to use next.js with the new react router v4?</p>
<h1 dir="auto">Bug report</h1>
<h2 dir="auto">Describe the bug</h2>
<p dir="auto">We are displaying a banner for users to manage their third party cookie consent. We include the script on the page<br>
and then it goes and downloads the necessary styling.</p>
<p dir="auto">When upgrading from version <code class="notranslate">9.0.2</code> to <code class="notranslate">&gt; 9.0.3</code> we are seeing an issue with the script inclusion.</p>
<p dir="auto">The script seems to be rendered in the page source (<code class="notranslate">View Page Source</code>), but when looking at the Elements tab of the<br>
devtools it's not visible. When going to the network tab, we can see the script being downloaded successfully.</p>
<p dir="auto">We can also see the CSS the script dynamically loads in the network tab, but it doesn't appear on the page.</p>
<p dir="auto">Any help would be great!</p>
<h2 dir="auto">To Reproduce</h2>
<p dir="auto">Steps to reproduce the behavior, please provide code snippets or a repository:</p>
<ol dir="auto">
<li>Use <a href="https://github.com/vernak2539/next-head-element-demo">test repo</a> and run <code class="notranslate">yarn dev</code></li>
<li>Load main page, view designs (actual behaviour)</li>
<li>Downgrade next to v<code class="notranslate">9.0.2</code>, <code class="notranslate">yarn</code>, <code class="notranslate">yarn dev</code></li>
<li>Load main page, view designs (expected behaviour)</li>
</ol>
<h2 dir="auto">Actual behavior</h2>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/521270/65958592-a85d2b80-e447-11e9-9503-daf1e55425b3.png"><img src="https://user-images.githubusercontent.com/521270/65958592-a85d2b80-e447-11e9-9503-daf1e55425b3.png" alt="actual" style="max-width: 100%;"></a></p>
<h2 dir="auto">Expected behavior</h2>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/521270/65958608-adba7600-e447-11e9-98db-82e6400646e4.png"><img src="https://user-images.githubusercontent.com/521270/65958608-adba7600-e447-11e9-98db-82e6400646e4.png" alt="expected" style="max-width: 100%;"></a></p>
<h2 dir="auto">Screenshots</h2>
<p dir="auto">See above</p>
<h2 dir="auto">System information</h2>
<ul dir="auto">
<li>OS: macOS</li>
<li>Browser (if applies): Chrome, Firefox</li>
<li>Version of Next.js: 9.0.7 (breaking at 9.0.3)</li>
</ul>