title: Unable to get property 'bind' of undefined or null reference
body: <pre><code>render() {
          const { id, title } = this.props.toDo;
  
          return (
              &lt;div style={this.getStyle()}&gt;
                   &lt;input type="checkbox" onChange={this.markedComplete.bind(this, id)} /&gt;
                  &lt;span&gt;{title}&lt;/span&gt;
                  &lt;button style={btnStyle} onClick={this.delTodo.bind(this, id)}&gt;
                      X
                  &lt;/button&gt;
              &lt;/div&gt;
          )
      }
  }
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/i9TMc.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/i9TMc.png" alt="enter image description here"></a></p>