title: how to add classname on event.target-Js/ReactJs
body: <p>I have an onclick handler:</p>
  
  <pre><code>render() {
    return (
      &lt;div&gt;
        &lt;div className={className} onClick={this.target.bind(this,id)}&gt;{name}&lt;/div&gt;
      &lt;/div&gt;
    )
  }
  </code></pre>
  
  <p>and here is the function:</p>
  
  <pre><code>target(test, event) {
    event.target.className="addClasss";  
  }
  </code></pre>
  
  <p>I was trying the above way to addClass on event target, however is there a better way to do this?
  Thanks</p>