title: remove jQuery in React
body: <p>I am removing jquery getting value in React by using this.refs.element.value.</p>
  
  <p>How can I remove jQuery in this and do it in React way?</p>
  
  <pre><code>var arr = [];
  $(".mail-checkbox:checked").closest("tr").each(function() {
      arr.push( this.id );
  });
  </code></pre>