Browse Source

Update comment to refer to correct method name (#7873)

main
Michael O'Brien 8 years ago
committed by Dan Abramov
parent
commit
f665a4b48a
  1. 2
      docs/05-reusable-components.md

2
docs/05-reusable-components.md

@ -347,7 +347,7 @@ class SayHello extends React.Component {
}
render() {
// Because we `this.tick` is bound, we can use it as an event handler.
// Because `this.handleClick` is bound, we can use it as an event handler.
return (
<button onClick={this.handleClick}>
Say hello

Loading…
Cancel
Save