Closed sharathchandramg closed 6 years ago
@sharathchandramg Hey, you have to pass to markActionOffline
an initial object param containing your actions you want to queue. For your case you would do something like:
const Creators = {
getFormData, // using object literal shorthand
}
markActionsOffline(Creators, ['getFormData'])
or simply markActionsOffline({ getFormData }, ['getFormData'])
if you are only going to ever have one.
Hi, I was just trying to get the basic app running. I am not using redux-sauce and instead using plain objects for actions.
e.g.
How can I mark these actions under maskActionOffline?