class Comp extends Component {
        render () {
          return <div>{this.context.foo + '-' + this.context.getFoo()}</div>
        }
      }