我正在使用redux-工具箱、MSW、RTK查询,并对Libary进行响应测试,目前我正忙于编写一个测试简单登录流的集成测试。/@reduxjs/toolkit/dist/redux-toolkit.cjs.development.js:911:18)
at runMutator (node_modules/@reduxjs在浏览器中测试时不会发生这种情况,只有在使用Jest进行测试时才会发生这种情况。/to
在更新"@reduxjs/toolkit": "^1.6.1"之后,我得到了一个getDefaultMiddleware已弃用的警告,那么我应该如何删除这个警告呢?import { configureStore, getDefaultMiddleware } from "@reduxjs/toolkit";import a
我很难整合Redux。当我尝试mapStateToProps并利用状态时,我会收到Property 'token' does not exist on type ReadOnly <state>的错误。interface Props { sidebarSelectedIndex: string | null