с редаксом связку, а он ругается и без тс игнора работать не хочет, что должно быть вставленно ?
can u show the middleware that u are using in this case ?
import {configureStore} from '@reduxjs/toolkit'; import reducerGetPeople from "../redux/reducer/reducerGetPeople"; export const store = configureStore({ reducer: { people: reducerGetPeople, }, });
did u use redux thunk ?
no, i use only redux toolkit "@emotion/react": "^11.11.0", "@emotion/styled": "^11.11.0", "@mui/icons-material": "^5.11.16", "@mui/material": "^5.13.0", "@reduxjs/toolkit": "^1.9.5", "@testing-library/jest-dom": "^5.16.5", "@testing-library/react": "^13.4.0", "@testing-library/user-event": "^13.5.0", "@types/jest": "^27.5.2", "@types/node": "^16.18.30", "@types/react": "^18.2.6", "@types/react-dom": "^18.2.4", "axios": "^0.27.2", "moment": "^2.29.4", "node-sass": "^8.0.0", "react": "^18.2.0", "react-dom": "^18.2.0", "react-moment": "^1.1.3", "react-redux": "^8.0.5", "react-router-dom": "^6.11.1", "react-scripts": "5.0.1", "typescript": "^4.9.5", "web-vitals": "^2.1.4"
Обсуждают сегодня