Answer the question
In order to leave comments, you need to log in
Why is Recoil for React not updating the state?
On its assembly, Recoil does not update the state. On a clean empty application, everything works. There are no errors anywhere. I use HMR. Maybe it's a problem? How to find conflict?
"dependencies": {
"@hot-loader/react-dom": "^17.0.1",
"@types/classnames": "^2.3.1",
"@types/enzyme": "^3.10.9",
"@types/enzyme-adapter-react-16": "^1.0.6",
"@types/jest": "^26.0.24",
"@types/mocha": "^9.0.0",
"@types/react": "^17.0.3",
"@types/react-dom": "^17.0.2",
"@types/react-router-dom": "^5.3.1",
"axios": "^0.21.4",
"classnames": "^2.3.1",
"clean-webpack-plugin": "^3.0.0",
"compression": "^1.7.4",
"cross-env": "^7.0.3",
"css-loader": "^5.1.3",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.6",
"enzyme-to-json": "^3.6.2",
"express": "^4.17.1",
"formik": "^2.2.9",
"helmet": "^4.6.0",
"html-webpack-plugin": "^4.5.2",
"identity-obj-proxy": "^3.0.0",
"jest": "^26.6.3",
"less": "^4.1.1",
"less-loader": "^7.3.0",
"nodemon": "^2.0.7",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-hot-loader": "^4.13.0",
"react-redux": "^7.2.5",
"react-router-dom": "^5.3.0",
"recoil": "^0.4.1",
"redux": "^4.1.1",
"redux-devtools-extension": "^2.13.9",
"redux-thunk": "^2.3.0",
"style-loader": "^2.0.0",
"ts-jest": "^26.5.4",
"ts-loader": "^8.0.18",
"typescript": "^4.2.3",
"webpack": "^5.27.2",
"webpack-cli": "^4.5.0",
"webpack-dev-middleware": "^4.1.0",
"webpack-dev-server": "^4.3.0",
"webpack-hot-middleware": "^2.25.0",
"webpack-node-externals": "^2.5.2"
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question