Реагировать на метод класса 0.13 не определено

Итак, я начал с React и ES6 и застрял с основами. Действительно ценю некоторую помощь.

handleClick () выдает ошибку:

Uncaught TypeError: Cannot read property 'handleClick' of undefined

код следует

export default class MenuItems extends React.Component {

  constructor(props) {
    super(props)
    this.state = {active: false}
    this.handleClick = this.handleClick.bind(this)
  }

  handleClick() {
    this.setState({ active: !this.state.active });
  }

  render() {
    let active = this.state.active
    let menuItems = [{text: 'Logo'}, {text:  'promo'}, {text:     'benefits'}, { text: 'form'}]
    return (
      <ul>
        {menuItems.map(function(item) {
          return <li className={active ? 'active' : ''} onClick={this.handleClick.bind(this)} key={item.id}>{item.text}</li>;
        })}
      </ul>
    );
  }
}

Ответы на вопрос(2)

Ваш ответ на вопрос