redux实现todos
使用react-redux实现todosimport { createStore, applyMiddleware, combineReducers } from 'redux';import { Provider, connect } from 'react-redux';import thunkMiddleware from 'redux-thunk';var nextTodoId =