study完成,axjx异步获取数据,MVC-Redux转变,中间件redux-thunk使用来处理异步action
Showing
This diff is collapsed.
... | @@ -23,6 +23,7 @@ | ... | @@ -23,6 +23,7 @@ |
"react-router-dom": "^5.2.0", | "react-router-dom": "^5.2.0", | ||
"react-scripts": "4.0.1", | "react-scripts": "4.0.1", | ||
"redux": "^4.1.0", | "redux": "^4.1.0", | ||
"redux-thunk": "^2.3.0", | |||
"typescript": "^4.1.3", | "typescript": "^4.1.3", | ||
"web-vitals": "^0.2.4" | "web-vitals": "^0.2.4" | ||
}, | }, | ||
... | ... |
Please register or sign in to comment