import React, {Component} from 'react' import {connect} from 'react-redux' import {increment, decrement, reset} from '../actions' class Counter extends Component { increment = () => { this.props.dispatch(increment()) } decrement = () => { this.props.dispatch(decrement()) } reset = () => { this.props.dispatch(reset()) } render () { const {count} = this.props return (