redux-hooks-context icon indicating copy to clipboard operation
redux-hooks-context copied to clipboard

Expected behavior

Open devaublanc opened this issue 5 years ago • 0 comments

Thanks for this implementation ! But we have an issue regarding the expected behavior

const loggerMiddleware = store => next => action => {
    console.log('prev state', action.type, store.getState());
    next(action);
    console.log('next state', action.type, store.getState()); 
}

prev state and next state are equals after the dispatch any idea why ?

devaublanc avatar Sep 26 '19 14:09 devaublanc