Browse Source

Bind handleChange Instead of Calling (#9764)

main
Danny Hurlburt 8 years ago
committed by Dan Abramov
parent
commit
4795533fe8
  1. 2
      docs/integrating-with-other-libraries.md

2
docs/integrating-with-other-libraries.md

@ -320,7 +320,7 @@ class Item extends React.Component {
class List extends React.Component { class List extends React.Component {
constructor(props) { constructor(props) {
super(props); super(props);
this.handleChange = this.handleChange(); this.handleChange = this.handleChange.bind(this);
} }
handleChange() { handleChange() {

Loading…
Cancel
Save