function Wrapper(props) {
	      _classCallCheck(this, Wrapper);

	      var _this = _possibleConstructorReturn(this, Object.getPrototypeOf(Wrapper).call(this, props));

	      _this.state = {};
	      return _this;
	    }
This Higher Order Component decorator function is the way the components
communicate with the central Store.

Example:

class MyComp {
  render() {
    return (
      <div>
        Hello {this.props.name}.
        <button onClick={this.props.sayHi}>Hi back</button>
      </div>
    );
  }
}

module.exports = decorate({
  listeners: () => ['nameChanged'],
  props(store) {
    return {
      name: store.name,
      sayHi: () => store.sayHi(),
    };
  },
}, MyComp);