-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Redux #149
Comments
Hey you can still use createStore, it's just a deprecated term because nowadays redux toolkit replaced original redux. createStore will work anyway, if you want to update the code you should recode your project with configureStore. |
The REDUX toolkit is much way better. |
Hey developers, those who are facing problems regarding REDUX (realated to store) here the solution. import { Provider } from 'react-redux'; import App from './App'; const store = configureStore({ ReactDOM.render( , document.getElementById('root')); note: createStore is deprecated (no more in use ) so use redux tool kit (you need to first install that using - npm install @reduxjs/toolkit |
Hey, tried your fix but it didnt work. Check out my code par the same issue. Will appreciate your assistance. |
Issue fixed!
NPMnpm install @reduxjs/toolkit Yarnyarn add @reduxjs/toolkit
Job done! |
In index.js i can not able to import creatStore vs code suggest me to use redex tool kit please help me
The text was updated successfully, but these errors were encountered: