title: using NavLink with external URL
body: <p>I have the following code:</p>
  
  <pre><code>    &lt;NavLink to="//student.lvh.me:8080/users/edit"&gt;
        &lt;DropDownLink&gt;Wiki&lt;/DropDownLink&gt;
      &lt;/NavLink&gt;
  </code></pre>
  
  <p>how do I get navlink to work with external URLs? 
  I get the following error in console: </p>
  
  <p><code>Uncaught DOMException: Failed to execute 'pushState' on 'History': A history state object with URL 'http://student.lvh.me:8080/users/edit' cannot be created in a document with origin 'http://localhost:3000' and URL 'http://localhost:3000/'.</code></p>
  
  <p>is there a better way to handle external links? </p>