I am using "redux-offline" to make my application work offline. I want to dispatch an action in the effect part and get the back end result to the commit part.
meta: {
offline: {
effect: { type: "CHECK_NUMBER" },
commit: { type: "DISPLAY_NUMBER" },
rollback: { type: TYPES.CHECK_NUMBER, meta: { data } }
}
}
I want to fire the "CHECK_NUMBER" at the first place and get the result back to the commit part.