-
-
Notifications
You must be signed in to change notification settings - Fork 187
Closed
Description
At the moment, redux-undo skips the child reducer when an action is triggered that is known to redux-undo, for example here:
case config.undoType:
res = undo(history)
debug.log('perform undo')
debug.end(res)
return resUnfortunately, I have a use case where I need to execute the reducer there as well. I am aware that this is a very specific use case which is why I think that this should be configurable:
case config.undoType:
res = undo(history)
debug.log('perform undo')
debug.end(res)
return config.neverSkipReducer
? { ...res, present: reducer(res.present, action) }
: resMetadata
Metadata
Assignees
Labels
No labels