title: In React, how can I cause anchors to do nothing on click?
body: <p>I have the following html element:</p>
  
  <pre><code>&lt;a href onClick={() =&gt; fields.push()}&gt;Add Email&lt;/a&gt;
  </code></pre>
  
  <p>I need the href attribute so bootstrap styles the element with a link styling (color, cursor).</p>
  
  <p>Problem is, if I click that now it causes the browser to redirect. How can I update the above to not redirect the browser onClick but still run <code>fields.push()</code>?</p>