title: event.preventDefault() on multiple buttons
body: <p>Is there a way to write <code>e.preventDefault()</code> once for every button on an app (perhaps by creating a function)? I understand how to prevent the default events from a button (link, etc):</p>
  
  <pre><code>&lt;button onClick={e =&gt; e.preventDefault()} /&gt; &lt;!--For React, but it's the same elsewhere--&gt;
  </code></pre>
  
  <p>However, I have many buttons on my app and I'm tired of writing it out for every button. Any help is appreciated :)</p>