title: How do I make an inpage link with React?
body: <p>I want to make a React website and want it to use inpage links. I know that in normal html you can just use:</p>
  <pre><code>&lt;a href='#someheader'&gt;link&lt;/a&gt;
  
  &lt;h1 id='someheader'&gt;This is an example&lt;/h1&gt;
  </code></pre>
  <p>In react though, I am using multiple separate files for each part of the website. So for the navigation bar I have a file and for the body I have a file etc.
  I have tried the above technique, but it doesn't seem to work.</p>
  <p>Is it because of the link and the place I want the link to go to are in different pages, or is it because of something else?</p>