import {legacy_createStore as createStore } from 'redux'
// REDUCER - Update with dipatch and actions specifies
export default function storeReducer(state = initState, action: AnyAction){
...
return state;
}
// configureStore replace createStore
export const store = configureStore({reducer: {storeReducer}});