<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"><a href="https://github.com/zeit/next.js/tree/canary/examples/with-i18next">https://github.com/zeit/next.js/tree/canary/examples/with-i18next</a> should run when I run <code class="notranslate">yarn &amp;&amp; yarn dev</code></p>
<h2 dir="auto">Current Behavior</h2>


<p dir="auto">I get the following error:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="TypeError: Cannot read property 'node' of undefined
    at Object.&lt;anonymous&gt; (/Users/julia/with-i18next/node_modules/react-i18next/dist/commonjs/interpolate.js:100:29)
    at Module._compile (module.js:570:32)
    at Module._compile (/Users/julia/with-i18next/node_modules/source-map-support/source-map-support.js:492:25)
    at Object.Module._extensions..js (module.js:579:10)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)
    at Function.Module._load (module.js:438:3)
    at Module.require (module.js:497:17)
    at require (internal/module.js:20:19)
    at Object.&lt;anonymous&gt; (/Users/julia/with-i18next/node_modules/react-i18next/dist/commonjs/index.js:12:20)"><pre class="notranslate"><code class="notranslate">TypeError: Cannot read property 'node' of undefined
    at Object.&lt;anonymous&gt; (/Users/julia/with-i18next/node_modules/react-i18next/dist/commonjs/interpolate.js:100:29)
    at Module._compile (module.js:570:32)
    at Module._compile (/Users/julia/with-i18next/node_modules/source-map-support/source-map-support.js:492:25)
    at Object.Module._extensions..js (module.js:579:10)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)
    at Function.Module._load (module.js:438:3)
    at Module.require (module.js:497:17)
    at require (internal/module.js:20:19)
    at Object.&lt;anonymous&gt; (/Users/julia/with-i18next/node_modules/react-i18next/dist/commonjs/index.js:12:20)
</code></pre></div>
<h2 dir="auto">Steps to Reproduce (for bugs)</h2>


<ol dir="auto">
<li>yarn &amp;&amp; yarn dev</li>
<li>Open localhost:3000</li>
</ol>
<h2 dir="auto">Context</h2>


<h2 dir="auto">Your Environment</h2>

<table role="table">
<thead>
<tr>
<th>Tech</th>
<th>Version</th>
</tr>
</thead>
<tbody>
<tr>
<td>next</td>
<td>latest</td>
</tr>
<tr>
<td>node</td>
<td>6.10.0</td>
</tr>
<tr>
<td>OS</td>
<td>10.12.5</td>
</tr>
<tr>
<td>browser</td>
<td>62.0.3202.94</td>
</tr>
<tr>
<td>etc</td>
<td></td>
</tr>
</tbody>
</table>
<p dir="auto">Changing the hash in the URL causes getInitialProps to be fired, which I think should've been fixed in <a href="https://github.com/zeit/next.js/pull/1250" data-hovercard-type="pull_request" data-hovercard-url="/vercel/next.js/pull/1250/hovercard">this PR</a>. See the following example repo: <a href="https://github.com/ldthorne/nextjs-back-reproduction">https://github.com/ldthorne/nextjs-back-reproduction</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">If the user clicks the <code class="notranslate">go somewhere</code> link that leads to an anchor -- which will add a hash to the url -- and then clicks the back button, <code class="notranslate">getInitialProps</code> should not be called.</p>
<h2 dir="auto">Current Behavior</h2>
<p dir="auto">If the user clicks the <code class="notranslate">go somewhere</code> link that leads to an anchor -- which will add a hash to the url -- and then clicks the back button, <code class="notranslate">getInitialProps</code> is called.</p>
<h2 dir="auto">Steps to Reproduce (for bugs)</h2>
<ol dir="auto">
<li>Clone repo: <a href="https://github.com/ldthorne/nextjs-back-reproduction">https://github.com/ldthorne/nextjs-back-reproduction</a>.</li>
<li><code class="notranslate">yarn</code>.</li>
<li>Open dev tools.</li>
<li>Click the <code class="notranslate">go somewhere</code> link. Notice that nothing is logged.</li>
<li>Click the browser's back button. Notice that <code class="notranslate">getInitialProps</code> is logged.</li>
</ol>
<h2 dir="auto">Your Environment</h2>

<table role="table">
<thead>
<tr>
<th>Tech</th>
<th>Version</th>
</tr>
</thead>
<tbody>
<tr>
<td>next</td>
<td>3.0.6</td>
</tr>
<tr>
<td>node</td>
<td>8.1.2</td>
</tr>
<tr>
<td>OS</td>
<td>macOS 10.12.6</td>
</tr>
<tr>
<td>browser</td>
<td>All</td>
</tr>
</tbody>
</table>