You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am very new to this library. I am trying to understand how can I combine all the actions and pass arguments like store, state and payload of a rest call. one of the examples here does that but only does for a single action. Can I combine multiple actions and send the parameters like below ? is there way to do in one place and not repeat this code in every action ?
I am very new to this library. I am trying to understand how can I combine all the actions and pass arguments like store, state and payload of a rest call. one of the examples here does that but only does for a single action. Can I combine multiple actions and send the parameters like below ? is there way to do in one place and not repeat this code in every action ?
export const actions = (store) => ({
search: (...args) => search(store, ...args),
});
The text was updated successfully, but these errors were encountered: