score:4

Accepted answer
<script src="https://cdnjs.cloudflare.com/ajax/libs/react/15.1.0/react.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/react/15.1.0/react-dom.min.js"></script>
<div id="container"></div>

score:1

<button onClick={(e) => {this.onLike()}}>{this.state.like}</button>

Related Query

More Query from same tag