title: Anchor Tag in Next.js
body: <p>I'm tryin got use an anchor tag in Next.js</p>
  <p>I don't get any console errors when I set it up and click the link, but the page does not jump to the id tag.</p>
  <p>This <a href="https://github.com/vercel/next.js/issues/11109" rel="noreferrer">issue</a> on github suggests that people need to figure out a lot of custom code to use anchors. That can't be right.</p>
  <p>I have:</p>
  <pre><code>const links = [
      { label: 'Solutions', href: '#solutions', id: 'solutions' },
      
    ]
  
   &lt;NavLink.Desktop key={index} href={link.href} id={link.id}&gt;
              {link.label}
            &lt;/NavLink.Desktop&gt;
  </code></pre>
  <p>I get no errors, but the page does not jump to the label that has an id of 'solutions'.</p>
  <p>Does anyone know how to solve this, or where to go for ideas on how - it can't be intented that complex custom code is required to use an anchor tag?</p>