https://codesandbox.io/s/github/reactjs/redux/tree/master/examples/shopping-cart
react-redux全家桶
import {createStore,applyMiddleware} from 'redux'
import {Provider} from "react-redux"
import {createLogger} from "redux-logger"
import thunk from "redux-thunk"