{ return this.props.noCardsDue; } render() { return <Button onPress={this._reviewDeck} // callback: no parens disabled={this._reviewDisabled()}> <InterfaceText>Review Deck</InterfaceText> </Button>; } } Is this an invocation? No, it’s a function
refer to a method without () after it, bind that method. This is not React-specific; it is how functions work in JavaScript.” https://facebook.github.io/react/docs/handling-events.html
// 2. Bind callback function in render method // 3. Use arrow function in render method // 4. Bind callback function in constructor // 5. Define callback arrow function in constructor // 6. Declare arrow function as a class property