score:16

Accepted answer

Because you're already calling the method on render.

change onChange={this.handleCheck()} to onChange={this.handleCheck}

score:9

For anyone reading this in the future (like me), you can also solve this by formatting like onClick={(e) => this.handleCheck(parameter)} if you need to pass in a parameter.


Related Query

More Query from same tag