title: How do I get the id of a button that was clicked? ReactJS
body: <p>I was wondering how I would go about getting the id (becuase it is unknown) of a button that is clicked. So when the button is clicked, I know what the id of that specific button is. There are lots of buttons on the page and I would like to know which button is pressed (they all have unique id's). Currently the buttons look like this:</p>
  
  <pre><code>  &lt;button key={uuidv4()} id={this.props.keyword} value={this.props.keyword} onClick={this.props.onClick} className="removeButton"&gt;Remove&lt;/button&gt;
  </code></pre>