title: Events using React Js
body: <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;body&gt;
    &lt;button id="btnId"&gt;Click Me!&lt;/button&gt;
  &lt;/body&gt;</code></pre>
  </div>
  </div>
  
  I have this html code above and I want to add a click event on the button with the id "btnId" using react js...how will i do that without updating that button...</p>