createStore is being cancelled while trying to import from redux.
import {createStore} from 'redux' is not working at all on visual studio code.
createStore
is shown crossed out because is deprecated.
It's possible to keep using it (no warnings or errors appear) but Redux developers are encouraging the use of Redux Toolkit for writing Redux logic.
Even for existing applications, we recommend at least switching out
createStore
forconfigureStore
More info:
Now the createStore is being Crossed and it will not be stabe again because of upgrade so we can't use createStore anymore.
but there is some channels on Youtube who is teaching that how modern redux works. here is my mail for any query regarding to react yogesh94555@gmail.com.