<repo_name>Exost/workflow<file_sep>/app/components/App.js
import React, { Component } from 'react'
import { connect } from 'react-redux'

class App extends Component {
  handleClick() {
    const { dispatch } = this.props
    dispatch({
      type: 'INCREMENT'
    })
  }

  render() {
    const { counter } = this.props

    return (
      <div>
        Counter is {counter}
        <button onClick={::this.handleClick}>Click</button>
      </div>
    )
  }
}

export default connect(
  state => ({ counter: state.counter })
)(App)
