I'm reading through the source trying to understand why my REVERT isn't reverting.
The lines below add the isNotOptimistic property to the REVERT action which guards in the applyRevert function stopping it from rolling back the changes. Is this correct? What am I missing here?
I'm reading through the source trying to understand why my REVERT isn't reverting. The lines below add the
isNotOptimistic
property to the REVERT action which guards in theapplyRevert
function stopping it from rolling back the changes. Is this correct? What am I missing here?https://github.com/mattkrick/redux-optimistic-ui/blob/fb4af41bf88e425bff02d1120b8a31629bf0d7f8/src/index.js#L128-L129