2、在项目中直接安装. npm install @reduxjs/toolkit react-redux. 1. 3、查看 @reduxjs/toolkit 的依赖包. 其中自动集成了 thunk 处理异步的包.
確定! 回上一頁