摘要: redux处理异步状态管理请求 npm i redux-thunk -S import {createStore,applyMiddleware,combineReducers,compose} from "redux" import thunk from "redux-thunk" //中间件,用 阅读全文
posted @ 2020-08-29 15:34 anin 阅读(450) 评论(0) 推荐(0) 编辑
摘要: Redux DevTools需要主动配置才可以在浏览器内查看状态 import {createStore,applyMiddleware,combineReducers,compose} from "redux" import thunk from "redux-thunk" //中间件,用来处理异 阅读全文
posted @ 2020-08-29 15:19 anin 阅读(315) 评论(0) 推荐(1) 编辑