title: React opening a new page on link click
body: <p>How can I open/direct to a page on link click using <strong>ReactJS</strong>. </p>
  
  <p>From <code>index.html</code> I want to provide a link to open a new page. I have added the following  code</p>
  
  <pre><code>import React from 'react';
  class Header extends React.Component {  
  render() {
      return 
               &lt;div&gt; 
                  &lt;a href="#/TrialUser"&gt; Trial User&lt;/a&gt;
              &lt;/div&gt;  
  }
  export default Header;
  </code></pre>
  
  <p>It doesn't open that page. Do I need to update the <code>app.js</code> or <code>router.js</code> file to add the link.</p>